Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Adds a field for the dialog.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Dialog 6.4 Yes No No No No
MBS( "Dialog.AddField"; Label { ; Text; Placeholder; Password } )   More


Parameter Description Example value
Label The label text for the field. "First Name:"
Text Optional
The text for the field.
This is initial text.
Placeholder Optional
The placeholder text shown when no text is in the field.
"Put your name here"
Password Optional
Pass 1 to hide text with • or 0 for normal text field.


Returns index or error.


Adds a field for the dialog.
Please use Dialog.GetFieldText later to query text for field.
Returns the index of the field.
Maximum we allow 10 fields.


Adds two fields:

Set Variable [$r; Value:MBS("Dialog.AddField"; "Username:"; ""; "username here")]
Set Variable [$r; Value:MBS("Dialog.AddField"; "Password:"; ""; "password here"; 1)]

See also

Blog Entries

Created 13th September 2016, last changed 13th September 2016

Debugger.Window   -   Dialog.ClearFields

Feedback: Report problem or ask question.

MBS Xojo Chart Plugins