MBS FileMaker Plugin Example Databases

Formfield sample

All examples are included with download of MBS FileMaker Plugin.

Formfield sample.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts0
Value Lists1
Custom Functions0
Custom Menus32
File Options
Default custom menu set[Standard FileMaker Menus]
When opening file
Minimum allowed version12.0
Login usingAccount Name; Account= Admin
Allow user to save passwordOff
Require iOS passcodeOff
Switch to layoutOff
Hide all toolbarsOff
Script triggers
OnFirstWindowOpenOff
OnLastWindowCloseOff
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
Formfield sample
8 fields defined, 2 records
Formfield sample

Fields

Table Name: Formfield sample - 8 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
simpletextfieldNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
        passwordfieldNormal, TextAuto-Enter:
        • Allow editing
        Validation:
        • Only during data entry
        Storage:
        • Repetitions: 1
        • Indexing: None
        • Automatically create indexes as needed
        • Index Language: German
              textareafieldNormal, TextAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Repetitions: 1
              • Indexing: None
              • Automatically create indexes as needed
              • Index Language: German
                    singleselectNormal, TextAuto-Enter:
                    • Allow editing
                    Validation:
                    • Only during data entry
                    Storage:
                    • Repetitions: 1
                    • Indexing: None
                    • Automatically create indexes as needed
                    • Index Language: German
                          multiselectNormal, TextAuto-Enter:
                          • Allow editing
                          Validation:
                          • Only during data entry
                          Storage:
                          • Repetitions: 1
                          • Indexing: None
                          • Automatically create indexes as needed
                          • Index Language: German
                                hierarchicalselectNormal, TextAuto-Enter:
                                • Allow editing
                                Validation:
                                • Only during data entry
                                Storage:
                                • Repetitions: 1
                                • Indexing: None
                                • Automatically create indexes as needed
                                • Index Language: German
                                      radiobuttonsNormal, NumberAuto-Enter:
                                      • Allow editing
                                      Validation:
                                      • Only during data entry
                                      Storage:
                                      • Repetitions: 1
                                      • Indexing: None
                                      • Automatically create indexes as needed
                                      • Index Language: German
                                            checkboxesNormal, TextAuto-Enter:
                                            • Allow editing
                                            Validation:
                                            • Only during data entry
                                            Storage:
                                            • Repetitions: 1
                                            • Indexing: None
                                            • Automatically create indexes as needed
                                            • Index Language: German

                                                  Layout Objects: Formfield sample

                                                  Regular Fields

                                                  Field Name: Formfield sample::simpletextfield
                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                  • Top: 36 pt
                                                  • Left: 654 pt
                                                  • Bottom: 50 pt
                                                  • Right: 907 pt
                                                  • Anchoring: Left, Top
                                                  Field Format:
                                                  • Edit Box
                                                  Field Behavior:
                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                  • Touch keyboard type: System Default
                                                  • Go to next field using: Tab key
                                                  Yes

                                                  Field Name: Formfield sample::passwordfield
                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                  • Top: 66 pt
                                                  • Left: 654 pt
                                                  • Bottom: 80 pt
                                                  • Right: 907 pt
                                                  • Anchoring: Left, Top
                                                  Field Format:
                                                  • Edit Box
                                                  Field Behavior:
                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                  • Touch keyboard type: System Default
                                                  • Go to next field using: Tab key
                                                  Yes

                                                  Field Name: Formfield sample::textareafield
                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                  • Top: 96 pt
                                                  • Left: 654 pt
                                                  • Bottom: 224 pt
                                                  • Right: 907 pt
                                                  • Anchoring: Left, Top
                                                  Field Format:
                                                  • Edit Box
                                                  Field Behavior:
                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                  • Touch keyboard type: System Default
                                                  • Go to next field using: Tab key
                                                  Yes

                                                  Field Name: Formfield sample::singleselect
                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                  • Top: 240 pt
                                                  • Left: 654 pt
                                                  • Bottom: 254 pt
                                                  • Right: 907 pt
                                                  • Anchoring: Left, Top
                                                  Field Format:
                                                  • Edit Box
                                                  Field Behavior:
                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                  • Touch keyboard type: System Default
                                                  • Go to next field using: Tab key
                                                  Yes

                                                  Field Name: Formfield sample::multiselect
                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                  • Top: 294 pt
                                                  • Left: 654 pt
                                                  • Bottom: 308 pt
                                                  • Right: 907 pt
                                                  • Anchoring: Left, Top
                                                  Field Format:
                                                  • Edit Box
                                                  Field Behavior:
                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                  • Touch keyboard type: System Default
                                                  • Go to next field using: Tab key
                                                  Yes

                                                  Field Name: Formfield sample::hierarchicalselect
                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                  • Top: 360 pt
                                                  • Left: 654 pt
                                                  • Bottom: 374 pt
                                                  • Right: 907 pt
                                                  • Anchoring: Left, Top
                                                  Field Format:
                                                  • Edit Box
                                                  Field Behavior:
                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                  • Touch keyboard type: System Default
                                                  • Go to next field using: Tab key
                                                  Yes

                                                  Field Name: Formfield sample::checkboxes
                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                  • Top: 516 pt
                                                  • Left: 654 pt
                                                  • Bottom: 530 pt
                                                  • Right: 907 pt
                                                  • Anchoring: Left, Top
                                                  Field Format: Field Behavior:
                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                  • Touch keyboard type: System Default
                                                  • Go to next field using: Tab key
                                                  Yes

                                                  Field Name: Formfield sample::radiobuttons
                                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                  • Top: 462 pt
                                                  • Left: 654 pt
                                                  • Bottom: 481 pt
                                                  • Right: 907 pt
                                                  • Anchoring: Left, Top
                                                  Field Format: Field Behavior:
                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                  • Touch keyboard type: System Default
                                                  • Go to next field using: Tab key
                                                  Yes

                                                  Group Buttons

                                                  Button PropertiesCoordinatesScript/Script Step
                                                    Type:
                                                  • Text: Set value
                                                    Additional Properties:
                                                  • Change to hand cursor over button
                                                  • Rectangular
                                                  • Top: 36 pt
                                                  • Left: 924 pt
                                                  • Bottom: 55 pt
                                                  • Right: 1039 pt
                                                  • Anchoring: Left, Top
                                                  Set Variable [ $result; Value:MBS( "WebView.SetFormInputValue" ; "web"; "myform"; "simplefield"; Formfield sample::simpletextfield ) ]

                                                  Fields:


                                                  Button PropertiesCoordinatesScript/Script Step
                                                    Type:
                                                  • Text: Set value
                                                    Additional Properties:
                                                  • Change to hand cursor over button
                                                  • Rectangular
                                                  • Top: 66 pt
                                                  • Left: 924 pt
                                                  • Bottom: 85 pt
                                                  • Right: 1039 pt
                                                  • Anchoring: Left, Top
                                                  Set Variable [ $result; Value:MBS( "WebView.SetFormInputValue" ; "web"; "myform"; "passwordfield"; Formfield sample::passwordfield ) ]

                                                  Fields:


                                                  Button PropertiesCoordinatesScript/Script Step
                                                    Type:
                                                  • Text: Set value
                                                    Additional Properties:
                                                  • Change to hand cursor over button
                                                  • Rectangular
                                                  • Top: 96 pt
                                                  • Left: 924 pt
                                                  • Bottom: 115 pt
                                                  • Right: 1039 pt
                                                  • Anchoring: Left, Top
                                                  Set Variable [ $result; Value:MBS( "WebView.SetFormTextAreaValue" ; "web"; "myform"; "textareafield"; Formfield sample::textareafield ) ]

                                                  Fields:


                                                  Button PropertiesCoordinatesScript/Script Step
                                                    Type:
                                                  • Text: Set value
                                                    Additional Properties:
                                                  • Change to hand cursor over button
                                                  • Rectangular
                                                  • Top: 240 pt
                                                  • Left: 924 pt
                                                  • Bottom: 259 pt
                                                  • Right: 1039 pt
                                                  • Anchoring: Left, Top
                                                  Set Variable [ $result; Value:MBS( "WebView.SetFormSelectValue" ; "web"; "myform"; "selectsingle"; Formfield sample::singleselect ) ]

                                                  Fields:


                                                  Button PropertiesCoordinatesScript/Script Step
                                                    Type:
                                                  • Text: Set value
                                                    Additional Properties:
                                                  • Change to hand cursor over button
                                                  • Rectangular
                                                  • Top: 294 pt
                                                  • Left: 924 pt
                                                  • Bottom: 313 pt
                                                  • Right: 1039 pt
                                                  • Anchoring: Left, Top
                                                  Set Variable [ $result; Value:MBS( "WebView.SetFormSelectValue" ; "web"; "myform"; "selectmultiple"; Formfield sample::multiselect ) ]

                                                  Fields:


                                                  Button PropertiesCoordinatesScript/Script Step
                                                    Type:
                                                  • Text: Set value
                                                    Additional Properties:
                                                  • Change to hand cursor over button
                                                  • Rectangular
                                                  • Top: 360 pt
                                                  • Left: 924 pt
                                                  • Bottom: 379 pt
                                                  • Right: 1039 pt
                                                  • Anchoring: Left, Top
                                                  Set Variable [ $result; Value:MBS( "WebView.SetFormSelectValue" ; "web"; "myform"; "selecthierarchical"; Formfield sample::hierarchicalselect ) ]

                                                  Fields:


                                                  Button PropertiesCoordinatesScript/Script Step
                                                    Type:
                                                  • Text: Set value
                                                    Additional Properties:
                                                  • Change to hand cursor over button
                                                  • Rectangular
                                                  • Top: 462 pt
                                                  • Left: 924 pt
                                                  • Bottom: 481 pt
                                                  • Right: 1039 pt
                                                  • Anchoring: Left, Top
                                                  Set Variable [ $result; Value:MBS( "WebView.SetFormInputChecked" ; "web"; "myform"; 2 + Formfield sample::radiobuttons; 1) ]

                                                  Fields:


                                                  Button PropertiesCoordinatesScript/Script Step
                                                    Type:
                                                  • Text: Set value
                                                    Additional Properties:
                                                  • Change to hand cursor over button
                                                  • Rectangular
                                                  • Top: 516 pt
                                                  • Left: 924 pt
                                                  • Bottom: 535 pt
                                                  • Right: 1039 pt
                                                  • Anchoring: Left, Top
                                                  Set Variable [ $result; Value:MBS( "WebView.SetFormInputChecked" ; "web"; "myform"; "check1"; Position ( Formfield sample::checkboxes ; "0"; 1; 1 ) > 0 ) & MBS( "WebView.SetFormInputChecked" ; "web"; "myform"; "check2"; Position ( Formfield sample::checkboxes ; "1"; 1; 1 ) > 0 ) & MBS( "WebView.SetFormInputChecked" ; "web"; "myform"; "check3"; Position ( Formfield sample::checkboxes ; "2"; 1; 1 ) > 0 ) ]

                                                  Fields:


                                                  Button PropertiesCoordinatesScript/Script Step
                                                    Type:
                                                  • Text: Get value
                                                    Additional Properties:
                                                  • Change to hand cursor over button
                                                  • Rectangular
                                                  • Top: 36 pt
                                                  • Left: 1050 pt
                                                  • Bottom: 55 pt
                                                  • Right: 1165 pt
                                                  • Anchoring: Left, Top
                                                  Set Field [ Formfield sample::simpletextfield; MBS( "WebView.GetFormInputValue" ; "web"; "myform"; "simplefield" ) ]

                                                  Fields:


                                                  Button PropertiesCoordinatesScript/Script Step
                                                    Type:
                                                  • Text: Get value
                                                    Additional Properties:
                                                  • Change to hand cursor over button
                                                  • Rectangular
                                                  • Top: 66 pt
                                                  • Left: 1050 pt
                                                  • Bottom: 85 pt
                                                  • Right: 1165 pt
                                                  • Anchoring: Left, Top
                                                  Set Field [ Formfield sample::passwordfield; MBS( "WebView.GetFormInputValue" ; "web"; "myform"; "passwordfield") ]

                                                  Fields:


                                                  Button PropertiesCoordinatesScript/Script Step
                                                    Type:
                                                  • Text: Get value
                                                    Additional Properties:
                                                  • Change to hand cursor over button
                                                  • Rectangular
                                                  • Top: 96 pt
                                                  • Left: 1050 pt
                                                  • Bottom: 115 pt
                                                  • Right: 1165 pt
                                                  • Anchoring: Left, Top
                                                  Set Field [ Formfield sample::textareafield; MBS( "WebView.GetFormTextAreaValue" ; "web"; "myform"; "textareafield" ) ]

                                                  Fields:


                                                  Button PropertiesCoordinatesScript/Script Step
                                                    Type:
                                                  • Text: Get value
                                                    Additional Properties:
                                                  • Change to hand cursor over button
                                                  • Rectangular
                                                  • Top: 240 pt
                                                  • Left: 1050 pt
                                                  • Bottom: 259 pt
                                                  • Right: 1165 pt
                                                  • Anchoring: Left, Top
                                                  Set Field [ Formfield sample::singleselect; MBS( "WebView.GetFormSelectValue" ; "web"; "myform"; "selectsingle") ]

                                                  Fields:


                                                  Button PropertiesCoordinatesScript/Script Step
                                                    Type:
                                                  • Text: Get value
                                                    Additional Properties:
                                                  • Change to hand cursor over button
                                                  • Rectangular
                                                  • Top: 294 pt
                                                  • Left: 1050 pt
                                                  • Bottom: 313 pt
                                                  • Right: 1165 pt
                                                  • Anchoring: Left, Top
                                                  Set Field [ Formfield sample::multiselect; MBS( "WebView.GetFormSelectValue" ; "web"; "myform"; "selectmultiple" ) ]

                                                  Fields:


                                                  Button PropertiesCoordinatesScript/Script Step
                                                    Type:
                                                  • Text: Get value
                                                    Additional Properties:
                                                  • Change to hand cursor over button
                                                  • Rectangular
                                                  • Top: 360 pt
                                                  • Left: 1050 pt
                                                  • Bottom: 379 pt
                                                  • Right: 1165 pt
                                                  • Anchoring: Left, Top
                                                  Set Field [ Formfield sample::hierarchicalselect; MBS( "WebView.GetFormSelectValue" ; "web"; "myform"; "selecthierarchical" ) ]

                                                  Fields:


                                                  Button PropertiesCoordinatesScript/Script Step
                                                    Type:
                                                  • Text: Get value
                                                    Additional Properties:
                                                  • Change to hand cursor over button
                                                  • Rectangular
                                                  • Top: 462 pt
                                                  • Left: 1050 pt
                                                  • Bottom: 481 pt
                                                  • Right: 1165 pt
                                                  • Anchoring: Left, Top
                                                  Set Field [ Formfield sample::radiobuttons; MBS( "WebView.GetFormInputChecked" ; "web"; "myform"; 2)*0+ MBS( "WebView.GetFormInputChecked" ; "web"; "myform"; 3)*1+ MBS( "WebView.GetFormInputChecked" ; "web"; "myform"; 4)*2 ]

                                                  Fields:


                                                  Button PropertiesCoordinatesScript/Script Step
                                                    Type:
                                                  • Text: Get value
                                                    Additional Properties:
                                                  • Change to hand cursor over button
                                                  • Rectangular
                                                  • Top: 516 pt
                                                  • Left: 1050 pt
                                                  • Bottom: 535 pt
                                                  • Right: 1165 pt
                                                  • Anchoring: Left, Top
                                                  Set Field [ Formfield sample::checkboxes; Let ( [ check1 = MBS( "WebView.GetFormInputChecked"; "web"; "myform"; "check1"); check2 = MBS( "WebView.GetFormInputChecked"; "web"; "myform"; "check2"); check3 = MBS( "WebView.GetFormInputChecked"; "web"; "myform"; "check3"); result1 = Case ( check1 ; "0"; "" ); result2 = Case ( check2 ; "1"; "" ); result3 = Case ( check3 ; "2"; "" ) ]; result1 & ¶ & result2 & ¶ & result3 ) ]

                                                  Fields:


                                                  Web Viewer Controls

                                                  Web Viewer Control PropertiesCoordinatesWeb Address
                                                    Object Name:
                                                  • web
                                                    Additional Properties:
                                                  • Allow interaction with web viewer content
                                                  • Display progress bar
                                                  • Display status messages
                                                  • Automatically encode URL
                                                  • Top: 24 pt
                                                  • Left: 6 pt
                                                  • Bottom: 757 pt
                                                  • Right: 553 pt
                                                  • Anchoring: Left, Top
                                                  "http://www.monkeybreadsoftware.de/filemaker/formfields.html"

                                                  Value Lists

                                                  Value List NameSourceValuesOn Layouts
                                                  Neue WertelisteCustom
                                                  • 0, 1, 2

                                                  Download example: Formfield sample

                                                  Used functions:




                                                  Links
                                                  MBS Xojo Plugins