MBS FileMaker Plugin Example Databases

Controls

All examples are included with download of MBS FileMaker Plugin.

Controls.fmp12

Overview
Tables2
Relationships1
Layouts3
Scripts13
Value Lists0
Custom Functions0
Custom Menus31
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 layoutStart
Hide all toolbarsOff
Script triggers
OnFirstWindowOpenScript: Startup
OnLastWindowCloseScript: Shut Down
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
WebViewer_Forms
8 fields defined, 2 records
WebViewer_Forms
Companies
5 fields defined, 4 records
Companies

Fields

Table Name: WebViewer_Forms - 8 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
addressNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: English
      cityNormal, TextAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: English
            StatusNormal, TextAuto-Enter:
            • Allow editing
            Validation:
            • Only during data entry
            Storage:
            • Repetitions: 1
            • Indexing: None
            • Automatically create indexes as needed
            • Index Language: English
                multilineAddressNormal, TextAuto-Enter:
                • Allow editing
                Validation:
                • Only during data entry
                Storage:
                • Repetitions: 1
                • Indexing: None
                • Automatically create indexes as needed
                • Index Language: English
                    selectValueNormal, TextAuto-Enter:
                    • Allow editing
                    Validation:
                    • Only during data entry
                    Storage:
                    • Repetitions: 1
                    • Indexing: None
                    • Automatically create indexes as needed
                    • Index Language: English
                        OneCalculated, TextCalculation: Storage:
                        • Repetitions: 1
                        • Indexing: Minimal
                        • Automatically create indexes as needed
                        • Index Language: English
                              radioValueNormal, TextAuto-Enter:
                              • Allow editing
                              Validation:
                              • Only during data entry
                              Storage:
                              • Repetitions: 1
                              • Indexing: None
                              • Automatically create indexes as needed
                              • Index Language: English
                                  checkValueNormal, TextAuto-Enter:
                                  • Allow editing
                                  Validation:
                                  • Only during data entry
                                  Storage:
                                  • Repetitions: 1
                                  • Indexing: None
                                  • Automatically create indexes as needed
                                  • Index Language: English

                                      Table Name: Companies - 5 Fields
                                      Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
                                      IDNormal, TextAuto-Enter:
                                      • Allow editing
                                      • Serial: Generate: On creation, Next value: 10081, Increment: 1
                                      Validation:
                                      • Only during data entry
                                      Storage:
                                      • Repetitions: 1
                                      • Indexing: None
                                      • Automatically create indexes as needed
                                      • Index Language: English
                                            NameNormal, TextAuto-Enter:
                                            • Allow editing
                                            Validation:
                                            • Only during data entry
                                            Storage:
                                            • Repetitions: 1
                                            • Indexing: None
                                            • Automatically create indexes as needed
                                            • Index Language: English
                                                  ValueListItemCalculated, TextCalculation: Storage:
                                                  • Repetitions: 1
                                                  • Indexing: None
                                                  • Automatically create indexes as needed
                                                  • Index Language: English
                                                        OneCalculated, TextCalculation: Storage:
                                                        • Repetitions: 1
                                                        • Indexing: Minimal
                                                        • Automatically create indexes as needed
                                                        • Index Language: English
                                                              SortOrderNormal, NumberAuto-Enter:
                                                              • Allow editing
                                                              Validation:
                                                              • Only during data entry
                                                              Storage:
                                                              • Repetitions: 1
                                                              • Indexing: None
                                                              • Automatically create indexes as needed
                                                              • Index Language: English

                                                                    Layout Objects: Start

                                                                    Regular Fields

                                                                    Field Name: WebViewer_Forms::Status
                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                    • Top: 287 pt
                                                                    • Left: 422 pt
                                                                    • Bottom: 341 pt
                                                                    • Right: 759 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: WebViewer_Forms::address
                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                    • Top: 245 pt
                                                                    • Left: 535 pt
                                                                    • Bottom: 262 pt
                                                                    • Right: 680 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: WebViewer_Forms::Status
                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                    • Top: 412 pt
                                                                    • Left: 422 pt
                                                                    • Bottom: 466 pt
                                                                    • Right: 759 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: WebViewer_Forms::multilineAddress
                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                    • Top: 370 pt
                                                                    • Left: 535 pt
                                                                    • Bottom: 387 pt
                                                                    • Right: 680 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: WebViewer_Forms::Status
                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                    • Top: 287 pt
                                                                    • Left: 422 pt
                                                                    • Bottom: 341 pt
                                                                    • Right: 759 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: WebViewer_Forms::selectValue
                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                    • Top: 245 pt
                                                                    • Left: 535 pt
                                                                    • Bottom: 262 pt
                                                                    • Right: 680 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: Companies::ID
                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                    • Top: 403 pt
                                                                    • Left: 428 pt
                                                                    • Bottom: 419 pt
                                                                    • Right: 489 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: Companies::Name
                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                    • Top: 403 pt
                                                                    • Left: 488 pt
                                                                    • Bottom: 420 pt
                                                                    • Right: 687 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: Companies::SortOrder
                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                    • Top: 403 pt
                                                                    • Left: 704 pt
                                                                    • Bottom: 419 pt
                                                                    • Right: 735 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: WebViewer_Forms::Status
                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                    • Top: 356 pt
                                                                    • Left: 422 pt
                                                                    • Bottom: 386 pt
                                                                    • Right: 759 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: WebViewer_Forms::radioValue
                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                    • Top: 331 pt
                                                                    • Left: 535 pt
                                                                    • Bottom: 348 pt
                                                                    • Right: 680 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: Companies::ID
                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                    • Top: 414 pt
                                                                    • Left: 429 pt
                                                                    • Bottom: 430 pt
                                                                    • Right: 490 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: Companies::Name
                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                    • Top: 414 pt
                                                                    • Left: 489 pt
                                                                    • Bottom: 431 pt
                                                                    • Right: 688 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: Companies::SortOrder
                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                    • Top: 414 pt
                                                                    • Left: 705 pt
                                                                    • Bottom: 430 pt
                                                                    • Right: 736 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: WebViewer_Forms::checkValue
                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                    • Top: 331 pt
                                                                    • Left: 535 pt
                                                                    • Bottom: 396 pt
                                                                    • Right: 656 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: Companies::ID
                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                    • Top: 421 pt
                                                                    • Left: 424 pt
                                                                    • Bottom: 437 pt
                                                                    • Right: 485 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: Companies::Name
                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                    • Top: 421 pt
                                                                    • Left: 484 pt
                                                                    • Bottom: 438 pt
                                                                    • Right: 683 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: Companies::SortOrder
                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                    • Top: 421 pt
                                                                    • Left: 700 pt
                                                                    • Bottom: 437 pt
                                                                    • Right: 731 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

                                                                    Portals

                                                                    Portal PropertiesCoordinatesFieldsOptions
                                                                    • Top: 402 pt
                                                                    • Left: 428 pt
                                                                    • Bottom: 547 pt
                                                                    • Right: 753 pt
                                                                    • Anchoring: Left, Top
                                                                    Field Objects
                                                                    • Sort records: Off
                                                                    • Filter calculation: None
                                                                    • Initial Row: 1
                                                                    • Number of Rows: 8
                                                                    • Show vertical scroll bar

                                                                    Portal PropertiesCoordinatesFieldsOptions
                                                                    • Top: 413 pt
                                                                    • Left: 429 pt
                                                                    • Bottom: 558 pt
                                                                    • Right: 754 pt
                                                                    • Anchoring: Left, Top
                                                                    Field Objects
                                                                    • Sort records: Off
                                                                    • Filter calculation: None
                                                                    • Initial Row: 1
                                                                    • Number of Rows: 8
                                                                    • Show vertical scroll bar

                                                                    Portal PropertiesCoordinatesFieldsOptions
                                                                    • Top: 420 pt
                                                                    • Left: 424 pt
                                                                    • Bottom: 565 pt
                                                                    • Right: 749 pt
                                                                    • Anchoring: Left, Top
                                                                    Field Objects
                                                                    • Sort records: Off
                                                                    • Filter calculation: None
                                                                    • Initial Row: 1
                                                                    • Number of Rows: 8
                                                                    • Show vertical scroll bar

                                                                    Tab Controls

                                                                    Tab Control PropertiesCoordinates
                                                                      Justification:
                                                                    • Left
                                                                      Tab Width:
                                                                    • Label Width + Margin of 6 pt
                                                                      Default Front Tab:
                                                                    • Tab 3
                                                                    • Top: 68 pt
                                                                    • Left: 7 pt
                                                                    • Bottom: 573 pt
                                                                    • Right: 788 pt
                                                                    • Anchoring: Left, Top
                                                                    Tabs
                                                                    Tab PropertiesTab ControlsSlide ControlsFieldsButtonsPortalsWeb Viewer ControlsCharts
                                                                      Tab 0:
                                                                    • "Text Field"
                                                                      Object Name:
                                                                    • TextField
                                                                        Field Objects 1 Web Viewer Controls
                                                                          Tab 1:
                                                                        • "Text Area"
                                                                          Object Name:
                                                                        • TextArea
                                                                            Field Objects 1 Web Viewer Controls
                                                                              Tab 2:
                                                                            • "Combo Box"
                                                                              Object Name:
                                                                            • ComboBox
                                                                                Field Objects 1 Web Viewer Controls
                                                                                  Tab 3:
                                                                                • "Radio Buttons"
                                                                                    Field Objects 1 Web Viewer Controls
                                                                                      Tab 4:
                                                                                    • "Check Boxes"
                                                                                        Field Objects 1 Web Viewer Controls

                                                                                        Web Viewer Controls

                                                                                        Web Viewer Control PropertiesCoordinatesWeb Address
                                                                                          Object Name:
                                                                                        • MyWebViewer
                                                                                          Additional Properties:
                                                                                        • Allow interaction with web viewer content
                                                                                        • Automatically encode URL
                                                                                        • Top: 176 pt
                                                                                        • Left: 532 pt
                                                                                        • Bottom: 199 pt
                                                                                        • Right: 749 pt
                                                                                        • Anchoring: Left, Top
                                                                                        Let( [ /*################# CONFIGURATION ################*/ value=WebViewer_Forms::address; /* text field attributes */ size = 25; maxCharacters = 50; type = "text"; /* FileMaker Scripts */ fmOnKeyUpScript = "On Key Up"; fmOnExitScript = "On Exit"; fmOnFocusScript = "On Focus"; /* debug flag set to 'true' to see the calls that are made */ debug = "false" /*##############################################*/ ]; Substitute( "data:text/html," & //------ HTML GOES HERE -------------- "<html>"&"¶"& "<head>"&"¶"& "<style>"&"¶"& ".hiddenDiv {"&"¶"& "display: none;"&"¶"& "background-color:#FFFFCC"&"¶"& "}"&"¶"& ".visibleDiv{"&"¶"& "display: block;"&"¶"& "}"&"¶"& "</style>"&"¶"& "<script language=\"JavaScript\">"&"¶"& "var debug ='[debugFlag]';"&"¶"& "var fileName ='[fileName]';"&"¶"& ""&"¶"& "function getFieldValue()"&"¶"& "{"&"¶"& ""&"¶"& "return document.getElementById(\"textField\").value"&"¶"& "}"&"¶"& ""&"¶"& "function fmKeyUp()"&"¶"& "{"&"¶"& " CallFM(fileName, '[fmOnKeyUpScript]', getFieldValue());"&"¶"& "}"&"¶"& "function fmOnExit()"&"¶"& "{"&"¶"& ""&"¶"& " CallFM(fileName, '[fmOnExitScript]', getFieldValue());"&"¶"& "}"&"¶"& " function fmOnFocus() "&"¶"& "{"&"¶"& " CallFM(fileName, '[fmOnFocusScript]', getFieldValue()); "&"¶"& "}"&"¶"& "function CallFM(fileName, scriptName, scriptParameter) "&"¶"& "{"&"¶"& " myTrace('<b>File:</b> ' + fileName + ' <br><b>Script:</b> ' + scriptName + ' <br><b>ScriptParameter:</b> ' + scriptParameter);"&"¶"& ""&"¶"& " window.status='Controls.fp7:'+scriptName+':'+scriptParameter;"&"¶"& "}"&"¶"& "function myTrace(string)"&"¶"& "{"&"¶"& " if (debug=='true')"&"¶"& " {"&"¶"& " var debugText = document.getElementById(\"debugText\");"&"¶"& " var debugBlock = document.getElementById(\"debugBlock\");"&"¶"& " debugBlock.style.display = \"block\"; "&"¶"& " debugText.innerHTML = string;"&"¶"& " }"&"¶"& "}"&"¶"& ""&"¶"& "</script> "&"¶"& "</head>"&"¶"& "<body style=\"border:none; overflow:hidden\" leftmargin=\"0\" bottommargin=\"0\" topmargin=\"0\" rightmargin=\"0\">"&"¶"& "<input name=\"textField\" type=\"[type]\" id=\"textField\" onFocus=\"fmOnFocus()\" onBlur=\"fmOnExit()\" onKeyUp=\"fmKeyUp()\" value=\"[intialValue]\" size='[size]' maxlength=\"[maxChars]\"> "&"¶"& "<div id=\"debugBlock\" class=\"hiddenDiv\">"&"¶"& " -----------trace---------"&"¶"& " <div id=\"debugText\"><br>"&"¶"& " </div>"&"¶"& "</div>"&"¶"& "</body>"&"¶"& "</html>" //------ End of HTML --------------------------------- ; ["[fileName]"; Get(FileName)]; ["[size]"; size]; ["[maxChars]"; maxCharacters]; ["[intialValue]"; value]; ["[type]"; type]; ["[fmOnKeyUpScript]"; fmOnKeyUpScript]; ["[fmOnExitScript]"; fmOnExitScript]; ["[fmOnFocusScript]"; fmOnFocusScript]; ["[debugFlag]"; debug] ) )

                                                                                        Web Viewer Control PropertiesCoordinatesWeb Address
                                                                                          Object Name:
                                                                                        • MyWebViewer 3
                                                                                          Additional Properties:
                                                                                        • Allow interaction with web viewer content
                                                                                        • Automatically encode URL
                                                                                        • Top: 188 pt
                                                                                        • Left: 436 pt
                                                                                        • Bottom: 349 pt
                                                                                        • Right: 749 pt
                                                                                        • Anchoring: Left, Top
                                                                                        Let( [ /*################# CONFIGURATION ################*/ value=WebViewer_Forms::multilineAddress; /* text field attributes */ rows = "8"; columns = "30"; /* FileMaker Scripts */ fmOnKeyUpScript = "ta__On Key Up"; fmOnExitScript = "ta__On Exit"; fmOnFocusScript = "ta__On Focus"; /* debug flag set to 'true' to see the calls that are made */ debug = "false" /*##############################################*/ ]; Substitute( "data:text/html," & //------ HTML GOES HERE -------------- "<html>"&"¶"& "<head>"&"¶"& "<style>"&"¶"& ".hiddenDiv {"&"¶"& "display: none;"&"¶"& "background-color:#FFFFCC"&"¶"& "}"&"¶"& ".visibleDiv{"&"¶"& "display: block;"&"¶"& "}"&"¶"& "</style>"&"¶"& "<script language=\"JavaScript\">"&"¶"& "var debug ='[debugFlag]';"&"¶"& "var fileName ='[fileName]';"&"¶"& ""&"¶"& "function getFieldValue()"&"¶"& "{"&"¶"& " return document.getElementById(\"textField\").value"&"¶"& "}"&"¶"& ""&"¶"& "function fmKeyUp()"&"¶"& "{"&"¶"& " CallFM(fileName, '[fmOnKeyUpScript]', getFieldValue());"&"¶"& "}"&"¶"& "function fmOnExit()"&"¶"& "{"&"¶"& ""&"¶"& " CallFM(fileName, '[fmOnExitScript]', getFieldValue());"&"¶"& "}"&"¶"& " function fmOnFocus() "&"¶"& "{"&"¶"& " CallFM(fileName, '[fmOnFocusScript]', getFieldValue()); "&"¶"& "}"&"¶"& "function CallFM(fileName, scriptName, scriptParameter) "&"¶"& "{"&"¶"& " myTrace('<b>File:</b> ' + fileName + ' <br><b>Script:</b> ' + scriptName + ' <br><b>ScriptParameter:</b> ' + scriptParameter);"&"¶"& ""&"¶"& " var agt=navigator.userAgent;"&"¶"& " "&"¶"& " window.status='Controls.fp7:'+scriptName+':'+scriptParameter;"&"¶"& "}"&"¶"& "function myTrace(string)"&"¶"& "{"&"¶"& " if (debug=='true')"&"¶"& " {"&"¶"& " var debugText = document.getElementById(\"debugText\");"&"¶"& " var debugBlock = document.getElementById(\"debugBlock\");"&"¶"& " debugBlock.style.display = \"block\"; "&"¶"& " debugText.innerHTML = string;"&"¶"& " }"&"¶"& "}"&"¶"& ""&"¶"& "</script> "&"¶"& "</head>"&"¶"& "<body style=\"border:none; overflow:hidden\" leftmargin=\"0\" bottommargin=\"0\" topmargin=\"0\" rightmargin=\"0\">"&"¶"& "<textarea name=\"textField\" id=\"textField\" onFocus=\"fmOnFocus()\" onBlur=\"fmOnExit()\" onKeyUp=\"fmKeyUp()\" rows=\"[rows]\" cols=\"[cols]\">[intialValue]</textarea>"&"¶"& "<div id=\"debugBlock\" class=\"hiddenDiv\">"&"¶"& " -----------trace---------"&"¶"& " <div id=\"debugText\"><br>"&"¶"& " </div>"&"¶"& "</div>"&"¶"& "</body>"&"¶"& "</html>" //------ End of HTML --------------------------------- ; ["[fileName]"; Get(FileName)]; ["[rows]"; rows]; ["[cols]"; columns]; ["[intialValue]"; value]; ["[fmOnKeyUpScript]"; fmOnKeyUpScript]; ["[fmOnExitScript]"; fmOnExitScript]; ["[fmOnFocusScript]"; fmOnFocusScript]; ["[debugFlag]"; debug] ) )

                                                                                        Web Viewer Control PropertiesCoordinatesWeb Address
                                                                                          Object Name:
                                                                                        • MyWebViewer 2
                                                                                          Additional Properties:
                                                                                        • Allow interaction with web viewer content
                                                                                        • Automatically encode URL
                                                                                        • Top: 176 pt
                                                                                        • Left: 532 pt
                                                                                        • Bottom: 213 pt
                                                                                        • Right: 749 pt
                                                                                        • Anchoring: Left, Top
                                                                                        Let( [ /*################# CONFIGURATION ################*/ initialValue= WebViewer_Forms::selectValue; /* text field attributes */ options = List(Companies::ValueListItem); /* FileMaker Scripts */ fmOnChangeScript = "select__On Change"; fmOnExitScript = "select__On Exit"; /* debug flag set to 'true' to see the calls that are made */ debug = "false"; /*##############################################*/ options = Substitute(options;["¶";"\n"]) ]; Substitute( "data:text/html," & //------ HTML GOES HERE -------------- "<html>"&"¶"& "<head>"&"¶"& "<style>"&"¶"& ".hiddenDiv {"&"¶"& "display: none;"&"¶"& "background-color:#FFFFCC"&"¶"& "}"&"¶"& ".visibleDiv{"&"¶"& "display: block;"&"¶"& "}"&"¶"& "</style>"&"¶"& "<script language=\"JavaScript\">"&"¶"& "var debug ='[debug]';"&"¶"& "var fileName ='[fileName]';"&"¶"& "var options=\"[options]\";"&"¶"& "var initial=\"[initial]\";"&"¶"& ""&"¶"& "function getFieldValue()"&"¶"& "{"&"¶"& " return document.getElementById(\"menu\").value"&"¶"& "}"&"¶"& ""&"¶"& "function fmOnChange()"&"¶"& "{"&"¶"& " CallFM(fileName, '[fmOnChangeScript]', getFieldValue());"&"¶"& "}"&"¶"& "function fmOnExit()"&"¶"& "{"&"¶"& " CallFM(fileName, '[fmOnExitScript]', getFieldValue());"&"¶"& "}"&"¶"& "function CallFM(fileName, scriptName, scriptParameter) "&"¶"& "{"&"¶"& " myTrace('<b>File:</b> ' + fileName + ' <br><b>Script:</b> ' + scriptName + ' <br><b>ScriptParameter:</b> ' + scriptParameter);"&"¶"& ""&"¶"& " window.status='Controls.fp7:'+scriptName+':'+scriptParameter;"&"¶"& "}"&"¶"& "function myTrace(string)"&"¶"& "{"&"¶"& " if (debug=='true')"&"¶"& " {"&"¶"& " var debugText = document.getElementById(\"debugText\");"&"¶"& " var debugBlock = document.getElementById(\"debugBlock\");"&"¶"& " debugBlock.style.display = \"block\"; "&"¶"& " debugText.innerHTML = string;"&"¶"& " }"&"¶"& "}"&"¶"& "function prepareSelect()"&"¶"& "{"&"¶"& " sel = document.getElementById('menu');"&"¶"& " var opts = options.split(\"\n\");"&"¶"& " if(opts[0].indexOf(\"|\")==-1)"&"¶"& " {"&"¶"& " for(var i=0;i<opts.length;i++)"&"¶"& " {"&"¶"& " var child = document.createElement(\"option\");"&"¶"& " child.value=opts[i];"&"¶"& " child.label=opts[i];"&"¶"& " if(initial==opts[i]) child.selected=true;"&"¶"& " sel.appendChild(child);"&"¶"& " child.innerHtml = items[1];"&"¶"& " }"&"¶"& " }"&"¶"& " else"&"¶"& " {"&"¶"& " for(var i=0;i<opts.length;i++)"&"¶"& " {"&"¶"& " items = opts[i].split(\"|\");"&"¶"& " var child = document.createElement(\"option\");"&"¶"& " child.value=items[0];"&"¶"& " child.label=items[1];"&"¶"& " if(initial==items[0]) child.selected=true;"&"¶"& " sel.appendChild(child);"&"¶"& " child.innerHTML = items[1];"&"¶"& " }"&"¶"& " }"&"¶"& "}"&"¶"& ""&"¶"& "window.onload=prepareSelect;"&"¶"& ""&"¶"& "</script> "&"¶"& "</head>"&"¶"& "<body style=\"margin:0;border:none;overflow:hidden\">"&"¶"& ""&"¶"& "<select name=\"menu\" id=\"menu\" onchange=\"fmOnChange()\" onblur=\"fmOnExit()\">"&"¶"& ""&"¶"& "</select>"&"¶"& ""&"¶"& " "&"¶"& "<div id=\"debugBlock\" class=\"hiddenDiv\">"&"¶"& " -----------trace---------"&"¶"& " <div id=\"debugText\"><br>"&"¶"& " </div>"&"¶"& "</div>"&"¶"& ""&"¶"& "</body>"&"¶"& "</html>" //------ End of HTML --------------------------------- ; ["[initial]";initialValue]; ["[fileName]"; Get(FileName)]; ["[options]"; options]; ["[fmOnChangeScript]"; fmOnChangeScript]; ["[fmOnExitScript]"; fmOnExitScript]; ["[debugFlag]"; debug] ) )

                                                                                        Web Viewer Control PropertiesCoordinatesWeb Address
                                                                                          Object Name:
                                                                                        • MyWebViewer 4
                                                                                          Additional Properties:
                                                                                        • Allow interaction with web viewer content
                                                                                        • Automatically encode URL
                                                                                        • Top: 176 pt
                                                                                        • Left: 532 pt
                                                                                        • Bottom: 321 pt
                                                                                        • Right: 743 pt
                                                                                        • Anchoring: Left, Top
                                                                                        Let( [ /*################# CONFIGURATION ################*/ initialValue= WebViewer_Forms::radioValue; /* list the values */ options ="|-none-¶" & List(Companies::ValueListItem); /* FileMaker Scripts */ fmOnClickScript = "select__On Click"; /* debug flag set to 'true' to see the calls that are made */ debug = "false"; /*##############################################*/ options = Substitute(options;["¶";"\n"]) ]; Substitute( "data:text/html," & //------ HTML GOES HERE -------------- "<html>"&"¶"& "<head>"&"¶"& "<style>"&"¶"& ".hiddenDiv {"&"¶"& "display: none;"&"¶"& "background-color:#FFFFCC"&"¶"& "}"&"¶"& ".visibleDiv{"&"¶"& "display: block;"&"¶"& "}"&"¶"& "</style>"&"¶"& "<script language=\"JavaScript\">"&"¶"& "var debug ='[debugFlag]';"&"¶"& "var fileName ='[fileName]';"&"¶"& "var options=\"[options]\";"&"¶"& "var initial=\"[initial]\";"&"¶"& ""&"¶"& "function getFieldValue()"&"¶"& "{"&"¶"& " radios = document.getElementsByName('fmRadio');"&"¶"& " for(var i=0;i<radios.length;i++)"&"¶"& " {"&"¶"& " if(radios[i].checked) return radios[i].value;"&"¶"& " }"&"¶"& "}"&"¶"& ""&"¶"& "function fmOnClick()"&"¶"& "{"&"¶"& " CallFM(fileName, '[fmOnClickScript]', getFieldValue());"&"¶"& "}"&"¶"& "function CallFM(fileName, scriptName, scriptParameter)"&"¶"& "{"&"¶"& " myTrace('<b>File:</b> ' + fileName + ' <br><b>Script:</b> ' + scriptName + ' <br><b>ScriptParameter:</b> ' + scriptParameter);"&"¶"& " window.status='Controls.fp7:'+scriptName+':'+scriptParameter;"&"¶"& "}"&"¶"& "function myTrace(string)"&"¶"& "{"&"¶"& " if (debug=='true')"&"¶"& " {"&"¶"& " var debugText = document.getElementById(\"debugText\");"&"¶"& " var debugBlock = document.getElementById(\"debugBlock\");"&"¶"& " debugBlock.style.display = \"block\"; "&"¶"& " debugText.innerHTML = string;"&"¶"& " }"&"¶"& "}"&"¶"& "function prepareSelect()"&"¶"& "{"&"¶"& " d = document.getElementById('rg');"&"¶"& " var opts = options.split(\"\n\");"&"¶"& " if(opts[0].indexOf(\"|\")==-1)"&"¶"& " {"&"¶"& " for(var i=0;i<opts.length;i++)"&"¶"& " {"&"¶"& " var child = document.createElement(\"input\");"&"¶"& " child.value=opts[i];"&"¶"& " child.type=\"radio\";"&"¶"& " child.name=\"fmRadio\";"&"¶"& " if(initial==opts[i]) child.setAttribute('checked'); "&"¶"& " d.appendChild(child);"&"¶"& " }"&"¶"& " }"&"¶"& " else"&"¶"& " {"&"¶"& " for(var i=0;i<opts.length;i++)"&"¶"& " {"&"¶"& " items = opts[i].split(\"|\");"&"¶"& " try{"&"¶"& " var child = document.createElement('<input type=\"radio\" name=\"fmRadio\">');"&"¶"& " } catch(err){"&"¶"& " var child = document.createElement(\"input\");"&"¶"& " child.setAttribute('type','radio');"&"¶"& " child.setAttribute('name','fmRadio');"&"¶"& " }"&"¶"& " child.setAttribute('id',items[0]);"&"¶"& " child.value=items[0];"&"¶"& " "&"¶"& " d.appendChild(child);"&"¶"& " if(initial == items[0]) { child.setAttribute('checked'); }"&"¶"& " d.innerHTML+=\"<label for='\"+items[0]+\"'>\"+items[1]+\"</label><br/>\";"&"¶"& " }"&"¶"& " }"&"¶"& "}"&"¶"& ""&"¶"& "function elementClicked(e)"&"¶"& "{"&"¶"& " //var targ;"&"¶"& " //if(e.target) targ = e.target;"&"¶"& " //else if(e.srcElement) targ = e.srcElement;"&"¶"& " //if(targ.tagName==\"INPUT\"||targ.tagName==\"input\") alert(targ.value);"&"¶"& "}"&"¶"& ""&"¶"& "window.onload=prepareSelect;"&"¶"& ""&"¶"& "</script> "&"¶"& "</head>"&"¶"& "<body style=\"margin:0;border:none;overflow:hidden\">"&"¶"& ""&"¶"& "<form id=\"rg\" onclick=\"fmOnClick()\">"&"¶"& ""&"¶"& "</form>"&"¶"& ""&"¶"& " "&"¶"& "<div id=\"debugBlock\" class=\"hiddenDiv\">"&"¶"& " -----------trace---------"&"¶"& " <div id=\"debugText\"><br>"&"¶"& " </div>"&"¶"& "</div>"&"¶"& ""&"¶"& "</body>"&"¶"& "</html>" //------ End of HTML --------------------------------- ; ["[initial]";initialValue]; ["[fileName]"; Get(FileName)]; ["[options]"; options]; ["[fmOnClickScript]"; fmOnClickScript]; ["[debugFlag]"; debug] ) )

                                                                                        Web Viewer Control PropertiesCoordinatesWeb Address
                                                                                          Object Name:
                                                                                        • MyWebViewer 5
                                                                                          Additional Properties:
                                                                                        • Allow interaction with web viewer content
                                                                                        • Automatically encode URL
                                                                                        • Top: 181 pt
                                                                                        • Left: 527 pt
                                                                                        • Bottom: 326 pt
                                                                                        • Right: 744 pt
                                                                                        • Anchoring: Left, Top
                                                                                        Let( [ /*################# CONFIGURATION ################*/ initialValue= WebViewer_Forms::checkValue; /* text field attributes */ options = List(Companies::ValueListItem); /* FileMaker Scripts */ fmOnClickScript = "check__On Change"; /* debug flag set to 'true' to see the calls that are made */ debug = "false"; /*##############################################*/ options = Substitute(options;["¶";"\n"]); initialValue = Substitute(initialValue;["¶";"\n"]); initialValue = Substitute(initialValue;["\r";"\n"]) ]; Substitute( "data:text/html," & //------ HTML GOES HERE -------------- "<html>"&"¶"& "<head>"&"¶"& "<style>"&"¶"& ".hiddenDiv {"&"¶"& "display: none;"&"¶"& "background-color:#FFFFCC"&"¶"& "}"&"¶"& ".visibleDiv{"&"¶"& "display: block;"&"¶"& "}"&"¶"& "</style>"&"¶"& "<script language=\"JavaScript\">"&"¶"& "var debug ='[debugFlag]';"&"¶"& "var fileName ='[fileName]';"&"¶"& "var options=\"[options]\";"&"¶"& "var initial=\"[initial]\";"&"¶"& ""&"¶"& "function getFieldValue()"&"¶"& "{"&"¶"& " checks = document.getElementsByTagName('input');"&"¶"& " var list = \"\";"&"¶"& " for(var i=0;i<checks.length;i++)"&"¶"& " {"&"¶"& " if(checks[i].checked)"&"¶"& " {"&"¶"& " if(list!=\"\") list+=\"\r\";"&"¶"& " list+=checks[i].value;"&"¶"& " }"&"¶"& " }"&"¶"& " return list;"&"¶"& "}"&"¶"& ""&"¶"& "function fmOnClick()"&"¶"& "{"&"¶"& " CallFM(fileName, '[fmOnClickScript]', getFieldValue());"&"¶"& "}"&"¶"& "function CallFM(fileName, scriptName, scriptParameter)"&"¶"& "{"&"¶"& " myTrace('<b>File:</b> ' + fileName + ' <br><b>Script:</b> ' + scriptName + ' <br><b>ScriptParameter:</b> ' + scriptParameter);"&"¶"& ""&"¶"& " var agt=navigator.userAgent;"&"¶"& " window.status='Controls.fp7:'+scriptName+':'+scriptParameter;"&"¶"& "}"&"¶"& "function myTrace(string)"&"¶"& "{"&"¶"& " if (debug=='true')"&"¶"& " {"&"¶"& " var debugText = document.getElementById(\"debugText\");"&"¶"& " var debugBlock = document.getElementById(\"debugBlock\");"&"¶"& " debugBlock.style.display = \"block\"; "&"¶"& " debugText.innerHTML = string;"&"¶"& " }"&"¶"& "}"&"¶"& "function prepareSelect()"&"¶"& "{"&"¶"& " d = document.getElementById('rg');"&"¶"& " var opts = options.split(\"\n\");"&"¶"& " var init = initial.split(\"\n\");"&"¶"& " "&"¶"& " if(opts[0].indexOf(\"|\")==-1)"&"¶"& " {"&"¶"& " for(var i=0;i<opts.length;i++)"&"¶"& " {"&"¶"& " var child = document.createElement(\"input\");"&"¶"& " child.value=opts[i];"&"¶"& " child.type=\"radio\";"&"¶"& " child.name=\"fmRadio\";"&"¶"& " if(initial==opts[i]) child.selected=\"true\";"&"¶"& " d.appendChild(child);"&"¶"& " }"&"¶"& " }"&"¶"& " else"&"¶"& " {"&"¶"& " for(var i=0;i<opts.length;i++)"&"¶"& " {"&"¶"& " items = opts[i].split(\"|\");"&"¶"& " "&"¶"& " try{"&"¶"& " var child = document.createElement('<input type=\"checkbox\" >');"&"¶"& " } catch(err){"&"¶"& " var child = document.createElement(\"input\");"&"¶"& " child.setAttribute('type','checkbox');"&"¶"& " }"&"¶"& " "&"¶"& " child.setAttribute('name',items[0]);"&"¶"& " child.setAttribute('id',items[0]);"&"¶"& " child.value=items[0];"&"¶"& " "&"¶"& " d.appendChild(child);"&"¶"& " for (var j=0;j<init.length;j++)"&"¶"& " {"&"¶"& " if(init[j] == items[0]) child.checked=true;"&"¶"& " }"&"¶"& " "&"¶"& " var label = document.createElement('label');"&"¶"& " label.innerHTML=items[1];"&"¶"& " d.appendChild(label);"&"¶"& " var br = document.createElement('br');"&"¶"& " d.appendChild(br);"&"¶"& " "&"¶"& " //d.innerHTML+=\"<label for='\"+items[0]+\"'>\"+items[1]+\"</label><br/>\";"&"¶"& " }"&"¶"& " }"&"¶"& "}"&"¶"& ""&"¶"& "function elementClicked(e)"&"¶"& "{"&"¶"& " //var targ;"&"¶"& " //if(e.target) targ = e.target;"&"¶"& " //else if(e.srcElement) targ = e.srcElement;"&"¶"& " //if(targ.tagName==\"INPUT\"||targ.tagName==\"input\") alert(targ.value);"&"¶"& "}"&"¶"& ""&"¶"& "window.onload=prepareSelect;"&"¶"& ""&"¶"& "</script> "&"¶"& "</head>"&"¶"& "<body style=\"margin:0;border:none;overflow:hidden\">"&"¶"& ""&"¶"& "<form id=\"rg\" onclick=\"fmOnClick()\">"&"¶"& ""&"¶"& "</form>"&"¶"& ""&"¶"& " "&"¶"& "<div id=\"debugBlock\" class=\"hiddenDiv\">"&"¶"& " -----------trace---------"&"¶"& " <div id=\"debugText\"><br>"&"¶"& " </div>"&"¶"& "</div>"&"¶"& ""&"¶"& "</body>"&"¶"& "</html>" //------ End of HTML --------------------------------- ; ["[initial]";initialValue]; ["[fileName]"; Get(FileName)]; ["[options]"; options]; ["[fmOnClickScript]"; fmOnClickScript]; ["[debugFlag]"; debug] ) )

                                                                                        Layout Objects: Splash

                                                                                        Layout Objects: Companies

                                                                                        Regular Fields

                                                                                        Field Name: Companies::ID
                                                                                        Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                        • Top: 24 pt
                                                                                        • Left: 138 pt
                                                                                        • Bottom: 40 pt
                                                                                        • Right: 391 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: Companies::Name
                                                                                        Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                        • Top: 42 pt
                                                                                        • Left: 138 pt
                                                                                        • Bottom: 58 pt
                                                                                        • Right: 391 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

                                                                                        Script Hierarchy

                                                                                        file
                                                                                        Shut Down
                                                                                        Startup
                                                                                        InstallCallbacks
                                                                                        mbsTextField Event Scripts
                                                                                        On Key Up
                                                                                        On Exit
                                                                                        On Focus
                                                                                        mbsTextArea Event Scripts
                                                                                        ta__On Key Up
                                                                                        ta__On Exit
                                                                                        ta__On Focus
                                                                                        mbsSelect Event Scripts
                                                                                        select__On Change
                                                                                        select__On Exit
                                                                                        mbsRadio Event Scripts
                                                                                        select__On Click
                                                                                        mbsCheck Event Scripts
                                                                                        check__On Change

                                                                                        file

                                                                                        Parent Folder: [file]Next Script: [Startup]
                                                                                        Script NameShut Down
                                                                                        Run script with full access privilegesOff
                                                                                        Include In MenuNo
                                                                                        Layouts that use this script
                                                                                          Scripts that use this script
                                                                                            Script Definition
                                                                                            Script Steps
                                                                                              Fields used in this script
                                                                                                Scripts used in this script
                                                                                                  Layouts used in this script
                                                                                                    Tables used in this script
                                                                                                      Table occurrences used by this script
                                                                                                        Custom Functions used by this script
                                                                                                          Custom menu set used by this script

                                                                                                            Previous Script: [Shut Down]Parent Folder: [file]Next Script: [InstallCallbacks]
                                                                                                            Script NameStartup
                                                                                                            Run script with full access privilegesOff
                                                                                                            Include In MenuNo
                                                                                                            Layouts that use this script
                                                                                                              Scripts that use this script
                                                                                                                Script Definition
                                                                                                                Script Steps
                                                                                                                • Perform Script [ “InstallCallbacks” ]
                                                                                                                • Go to Layout [ "Start" ]
                                                                                                                • Freeze Window
                                                                                                                • Set Field [ WebViewer_Forms::address; "1445 E Los Angeles Ave, STE 301R" ]
                                                                                                                • Set Field [ WebViewer_Forms::city; "Simi Valley" ]
                                                                                                                • Commit Records/Requests
                                                                                                                Fields used in this script
                                                                                                                Scripts used in this script
                                                                                                                Layouts used in this script
                                                                                                                • <Missing Layout>
                                                                                                                Tables used in this script
                                                                                                                Table occurrences used by this script
                                                                                                                Custom Functions used by this script
                                                                                                                  Custom menu set used by this script

                                                                                                                    Previous Script: [Startup]Parent Folder: [file]
                                                                                                                    Script NameInstallCallbacks
                                                                                                                    Run script with full access privilegesOff
                                                                                                                    Include In MenuNo
                                                                                                                    Layouts that use this script
                                                                                                                      Scripts that use this script
                                                                                                                      Script Definition
                                                                                                                      Script Steps
                                                                                                                      • Set Variable [ $result; Value:MBS("WebView.InstallCallback") ]
                                                                                                                      • #On Mac you must re-load any web page viewers. that may already be in loaded. This is not necesary on the PC
                                                                                                                      • Set Web Viewer [ Object Name: "WebViewer"; Action: Reload ]
                                                                                                                      Fields used in this script
                                                                                                                        Scripts used in this script
                                                                                                                          Layouts used in this script
                                                                                                                            Tables used in this script
                                                                                                                              Table occurrences used by this script
                                                                                                                                Custom Functions used by this script
                                                                                                                                  Custom menu set used by this script

                                                                                                                                    mbsTextField Event Scripts

                                                                                                                                    Parent Folder: [mbsTextField Event Scripts]Next Script: [On Exit]
                                                                                                                                    Script NameOn Key Up
                                                                                                                                    Run script with full access privilegesOff
                                                                                                                                    Include In MenuNo
                                                                                                                                    Layouts that use this script
                                                                                                                                      Scripts that use this script
                                                                                                                                        Script Definition
                                                                                                                                        Script Steps
                                                                                                                                        • Set Field [ WebViewer_Forms::Status; Get(ScriptParameter) ]
                                                                                                                                        Fields used in this script
                                                                                                                                        Scripts used in this script
                                                                                                                                          Layouts used in this script
                                                                                                                                            Tables used in this script
                                                                                                                                            Table occurrences used by this script
                                                                                                                                            Custom Functions used by this script
                                                                                                                                              Custom menu set used by this script

                                                                                                                                                Previous Script: [On Key Up]Parent Folder: [mbsTextField Event Scripts]Next Script: [On Focus]
                                                                                                                                                Script NameOn Exit
                                                                                                                                                Run script with full access privilegesOff
                                                                                                                                                Include In MenuNo
                                                                                                                                                Layouts that use this script
                                                                                                                                                  Scripts that use this script
                                                                                                                                                    Script Definition
                                                                                                                                                    Script Steps
                                                                                                                                                    • Set Field [ WebViewer_Forms::Status; "You just exited field" ]
                                                                                                                                                    • Set Field [ WebViewer_Forms::address; Get(ScriptParameter) ]
                                                                                                                                                    Fields used in this script
                                                                                                                                                    Scripts used in this script
                                                                                                                                                      Layouts used in this script
                                                                                                                                                        Tables used in this script
                                                                                                                                                        Table occurrences used by this script
                                                                                                                                                        Custom Functions used by this script
                                                                                                                                                          Custom menu set used by this script

                                                                                                                                                            Previous Script: [On Exit]Parent Folder: [mbsTextField Event Scripts]
                                                                                                                                                            Script NameOn Focus
                                                                                                                                                            Run script with full access privilegesOff
                                                                                                                                                            Include In MenuNo
                                                                                                                                                            Layouts that use this script
                                                                                                                                                              Scripts that use this script
                                                                                                                                                                Script Definition
                                                                                                                                                                Script Steps
                                                                                                                                                                • Set Field [ WebViewer_Forms::Status; "You just Entered the Field" ]
                                                                                                                                                                Fields used in this script
                                                                                                                                                                Scripts used in this script
                                                                                                                                                                  Layouts used in this script
                                                                                                                                                                    Tables used in this script
                                                                                                                                                                    Table occurrences used by this script
                                                                                                                                                                    Custom Functions used by this script
                                                                                                                                                                      Custom menu set used by this script

                                                                                                                                                                        mbsTextArea Event Scripts

                                                                                                                                                                        Parent Folder: [mbsTextArea Event Scripts]Next Script: [ta__On Exit]
                                                                                                                                                                        Script Nameta__On Key Up
                                                                                                                                                                        Run script with full access privilegesOff
                                                                                                                                                                        Include In MenuNo
                                                                                                                                                                        Layouts that use this script
                                                                                                                                                                          Scripts that use this script
                                                                                                                                                                            Script Definition
                                                                                                                                                                            Script Steps
                                                                                                                                                                            • Set Field [ WebViewer_Forms::Status; Get(ScriptParameter) ]
                                                                                                                                                                            Fields used in this script
                                                                                                                                                                            Scripts used in this script
                                                                                                                                                                              Layouts used in this script
                                                                                                                                                                                Tables used in this script
                                                                                                                                                                                Table occurrences used by this script
                                                                                                                                                                                Custom Functions used by this script
                                                                                                                                                                                  Custom menu set used by this script

                                                                                                                                                                                    Previous Script: [ta__On Key Up]Parent Folder: [mbsTextArea Event Scripts]Next Script: [ta__On Focus]
                                                                                                                                                                                    Script Nameta__On Exit
                                                                                                                                                                                    Run script with full access privilegesOff
                                                                                                                                                                                    Include In MenuNo
                                                                                                                                                                                    Layouts that use this script
                                                                                                                                                                                      Scripts that use this script
                                                                                                                                                                                        Script Definition
                                                                                                                                                                                        Script Steps
                                                                                                                                                                                        • Set Field [ WebViewer_Forms::Status; "You just exited field" ]
                                                                                                                                                                                        • Set Field [ WebViewer_Forms::multilineAddress; Get(ScriptParameter) ]
                                                                                                                                                                                        Fields used in this script
                                                                                                                                                                                        Scripts used in this script
                                                                                                                                                                                          Layouts used in this script
                                                                                                                                                                                            Tables used in this script
                                                                                                                                                                                            Table occurrences used by this script
                                                                                                                                                                                            Custom Functions used by this script
                                                                                                                                                                                              Custom menu set used by this script

                                                                                                                                                                                                Previous Script: [ta__On Exit]Parent Folder: [mbsTextArea Event Scripts]
                                                                                                                                                                                                Script Nameta__On Focus
                                                                                                                                                                                                Run script with full access privilegesOff
                                                                                                                                                                                                Include In MenuNo
                                                                                                                                                                                                Layouts that use this script
                                                                                                                                                                                                  Scripts that use this script
                                                                                                                                                                                                    Script Definition
                                                                                                                                                                                                    Script Steps
                                                                                                                                                                                                    • Set Field [ WebViewer_Forms::Status; "You just Entered the Field" ]
                                                                                                                                                                                                    Fields used in this script
                                                                                                                                                                                                    Scripts used in this script
                                                                                                                                                                                                      Layouts used in this script
                                                                                                                                                                                                        Tables used in this script
                                                                                                                                                                                                        Table occurrences used by this script
                                                                                                                                                                                                        Custom Functions used by this script
                                                                                                                                                                                                          Custom menu set used by this script

                                                                                                                                                                                                            mbsSelect Event Scripts

                                                                                                                                                                                                            Parent Folder: [mbsSelect Event Scripts]Next Script: [select__On Exit]
                                                                                                                                                                                                            Script Nameselect__On Change
                                                                                                                                                                                                            Run script with full access privilegesOff
                                                                                                                                                                                                            Include In MenuNo
                                                                                                                                                                                                            Layouts that use this script
                                                                                                                                                                                                              Scripts that use this script
                                                                                                                                                                                                                Script Definition
                                                                                                                                                                                                                Script Steps
                                                                                                                                                                                                                • Set Field [ WebViewer_Forms::Status; Get(ScriptParameter) ]
                                                                                                                                                                                                                • Set Field [ WebViewer_Forms::selectValue; Get(ScriptParameter) ]
                                                                                                                                                                                                                Fields used in this script
                                                                                                                                                                                                                Scripts used in this script
                                                                                                                                                                                                                  Layouts used in this script
                                                                                                                                                                                                                    Tables used in this script
                                                                                                                                                                                                                    Table occurrences used by this script
                                                                                                                                                                                                                    Custom Functions used by this script
                                                                                                                                                                                                                      Custom menu set used by this script

                                                                                                                                                                                                                        Previous Script: [select__On Change]Parent Folder: [mbsSelect Event Scripts]
                                                                                                                                                                                                                        Script Nameselect__On Exit
                                                                                                                                                                                                                        Run script with full access privilegesOff
                                                                                                                                                                                                                        Include In MenuNo
                                                                                                                                                                                                                        Layouts that use this script
                                                                                                                                                                                                                          Scripts that use this script
                                                                                                                                                                                                                            Script Definition
                                                                                                                                                                                                                            Script Steps
                                                                                                                                                                                                                            • Set Field [ WebViewer_Forms::Status; "You just exited field" ]
                                                                                                                                                                                                                            Fields used in this script
                                                                                                                                                                                                                            Scripts used in this script
                                                                                                                                                                                                                              Layouts used in this script
                                                                                                                                                                                                                                Tables used in this script
                                                                                                                                                                                                                                Table occurrences used by this script
                                                                                                                                                                                                                                Custom Functions used by this script
                                                                                                                                                                                                                                  Custom menu set used by this script

                                                                                                                                                                                                                                    mbsRadio Event Scripts

                                                                                                                                                                                                                                    Parent Folder: [mbsRadio Event Scripts]
                                                                                                                                                                                                                                    Script Nameselect__On Click
                                                                                                                                                                                                                                    Run script with full access privilegesOff
                                                                                                                                                                                                                                    Include In MenuNo
                                                                                                                                                                                                                                    Layouts that use this script
                                                                                                                                                                                                                                      Scripts that use this script
                                                                                                                                                                                                                                        Script Definition
                                                                                                                                                                                                                                        Script Steps
                                                                                                                                                                                                                                        • Set Field [ WebViewer_Forms::Status; Get(ScriptParameter) ]
                                                                                                                                                                                                                                        • Set Field [ WebViewer_Forms::radioValue; Get(ScriptParameter) ]
                                                                                                                                                                                                                                        Fields used in this script
                                                                                                                                                                                                                                        Scripts used in this script
                                                                                                                                                                                                                                          Layouts used in this script
                                                                                                                                                                                                                                            Tables used in this script
                                                                                                                                                                                                                                            Table occurrences used by this script
                                                                                                                                                                                                                                            Custom Functions used by this script
                                                                                                                                                                                                                                              Custom menu set used by this script

                                                                                                                                                                                                                                                mbsCheck Event Scripts

                                                                                                                                                                                                                                                Parent Folder: [mbsCheck Event Scripts ]
                                                                                                                                                                                                                                                Script Namecheck__On Change
                                                                                                                                                                                                                                                Run script with full access privilegesOff
                                                                                                                                                                                                                                                Include In MenuNo
                                                                                                                                                                                                                                                Layouts that use this script
                                                                                                                                                                                                                                                  Scripts that use this script
                                                                                                                                                                                                                                                    Script Definition
                                                                                                                                                                                                                                                    Script Steps
                                                                                                                                                                                                                                                    • Set Field [ WebViewer_Forms::Status; Get(ScriptParameter) ]
                                                                                                                                                                                                                                                    • Set Field [ WebViewer_Forms::checkValue; Get(ScriptParameter) ]
                                                                                                                                                                                                                                                    Fields used in this script
                                                                                                                                                                                                                                                    Scripts used in this script
                                                                                                                                                                                                                                                      Layouts used in this script
                                                                                                                                                                                                                                                        Tables used in this script
                                                                                                                                                                                                                                                        Table occurrences used by this script
                                                                                                                                                                                                                                                        Custom Functions used by this script
                                                                                                                                                                                                                                                          Custom menu set used by this script

                                                                                                                                                                                                                                                            Download example: Controls

                                                                                                                                                                                                                                                            Used functions:




                                                                                                                                                                                                                                                            Links
                                                                                                                                                                                                                                                            MBS FileMaker Plugins