Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   Crossplatform   Server (Not)   Client   Components   Old   Guides
New in version: 5.0   5.1   5.2   5.3   5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1    Statistic  

Dialog.AddField

Adds a field for the dialog.

Component: Dialog
Version: 6.4
Mac OS X: Yes
Windows: No
Server: No
FileMaker Cloud: No

MBS( "Dialog.AddField"; Label { ; Text; Placeholder; Password } )

Parameters

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.
0

Result

Returns index or error.

Description

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.

Examples

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


DNSLookup.Release   -   Dialog.ClearFields

Feedback: Report problem or ask question.




Links
MBS REAL studio Plugins - Nachhilfe in Mendig