{"isTemplate":false,"layout":[{"showEditPanel":false,"ui":{"textColor":"#000","backgroundColor":"#757575"},"show":true,"open":true,"expandOnLoad":true,"class":"","id":"1523380958119s","ClientID":"secDemonstrationButtons","type":"Section_Type","readonly":false,"contents":[{"showEditPanel":false,"ClientID":"ctnDemonstrationButtons","id":"1523380958119c","type":"Container_Type","show":true,"open":true,"readonly":false,"columns":[{"items":[{"displayName":"Button","Label":"Hide / Show","QuestionType":"Button","ClientID":"btnHideShow","class":"","type":"FormTool_Type","show":true,"events":{"onClick":null},"new":true,"loaded":true,"isdirty":false,"id":1523381473052,"islive":false,"showEditPanel":false,"stopBlurSave":false,"validation":{}}]},{"items":[{"stopBlurSave":false,"showEditPanel":false,"islive":false,"id":1523383169340,"isdirty":false,"loaded":true,"new":true,"events":{"onClick":null},"show":true,"type":"FormTool_Type","class":"","ClientID":"btnPrefillDefaults","QuestionType":"Button","Label":"Prefill Defaults","displayName":"Button","validation":{}}]},{"items":[{"displayName":"Button","Label":"Required / Optional","QuestionType":"Button","ClientID":"btnRequiredOptional","class":"","type":"FormTool_Type","show":true,"events":{"onClick":null},"new":true,"loaded":true,"isdirty":false,"id":1523409052074,"islive":false,"showEditPanel":false,"stopBlurSave":false,"validation":{}}]},{"items":[{"displayName":"Button","Label":"Highlight / Normal","QuestionType":"Button","ClientID":"btnHighlightNormal","class":"","type":"FormTool_Type","show":true,"events":{"onClick":null},"new":true,"loaded":true,"isdirty":false,"id":1523407079378,"islive":false,"showEditPanel":false,"stopBlurSave":false,"validation":{}}]},{"items":[{"stopBlurSave":false,"showEditPanel":false,"islive":false,"id":1523383418306,"isdirty":false,"loaded":true,"new":true,"events":{"onClick":null},"show":true,"type":"FormTool_Type","class":"","ClientID":"btnClearForm","QuestionType":"Button","Label":"Clear Form","displayName":"Button","validation":{}}]}],"icon":"crop_square","displayName":"Container"}],"showSectionOutline":true,"showAsCollapsible":true,"Label":"Demonstration Buttons Effecting Questions Section","displayName":"Section"},{"showEditPanel":false,"new":true,"ui":{"textColor":"#000","backgroundColor":"#757575"},"show":true,"open":true,"expandOnLoad":true,"class":"","id":"1523381352767s","ClientID":"secQuestions","type":"Section_Type","readonly":false,"contents":[{"showEditPanel":false,"new":true,"ClientID":"1523494939812c","id":"1523494939812c","type":"Container_Type","show":true,"open":true,"readonly":false,"columns":[{"items":[{"disabled":false,"stopBlurSave":false,"showEditPanel":false,"islive":false,"originalAnswer":null,"isdirty":false,"loaded":true,"id":1523381009957,"new":false,"Answer":null,"events":{"onFocus":null,"onBlur":null,"onChange":null},"validation":{"regExMessage":"This field is not valid","regEx":null,"maxMessage":"This field is too long","max":null,"minMessage":"This field is too short","min":null,"requiredMessage":"Please provide the required Short Text answer","required":false},"show":true,"class":"","ClientID":"stxtShortText","flex":100,"type":"Question_Type","Label":"Short Text: ","QuestionType":"ShortText","displayName":"Short Text"}]},{"items":[{"stopBlurSave":false,"islive":false,"originalAnswer":null,"isdirty":false,"loaded":true,"showEditPanel":false,"id":1523495056073,"new":false,"Answer":null,"events":{"onFocus":null,"onBlur":null,"onChange":null},"validation":{"regExMessage":"This field is not valid","regEx":null,"maxMessage":"This field is too long","max":null,"minMessage":"This field is too short","min":null,"requiredMessage":"This field is required","required":false},"dbSettings":{"useDB":false},"show":true,"class":"","ClientID":"cbShortTextQuestionEffects","flex":100,"type":"Question_Type","columnOrRow":"row","Choices":[{"showEditPanel":false,"Selected":false,"Value":"Show","Label":"Show"},{"Label":"Disabled","Value":"Disabled","showEditPanel":false},{"showEditPanel":false,"Value":"Read Only","Label":"Read Only"},{"showEditPanel":false,"Value":"CSS Class","Label":"CSS Class"},{"Label":"Clear / Reset","Value":"Clear / Reset","showEditPanel":false}],"Label":"Short Text Question Effects","QuestionType":"DbCheckbox","displayName":"Checkboxes"}]}],"displayName":"Container"},{"showEditPanel":false,"new":true,"ClientID":"1523381352767c","id":"1523381352767c","type":"Container_Type","show":true,"open":true,"readonly":false,"columns":[{"items":[{"displayName":"Long Text","QuestionType":"LongText","Label":"Long Text: ","type":"Question_Type","flex":100,"ClientID":"ltxtLongText","class":"","show":true,"validation":{"required":false,"requiredMessage":"Please provide the required Long Text answer","min":null,"minMessage":"This field is too short","max":null,"maxMessage":"This field is too long","regEx":null,"regExMessage":"This field is not valid"},"events":{"onChange":null,"onBlur":null,"onFocus":null},"Answer":null,"new":false,"id":1523385528307,"showEditPanel":false,"loaded":true,"isdirty":false,"originalAnswer":null,"islive":false,"stopBlurSave":false}]}],"icon":"crop_square","displayName":"Container"},{"displayName":"Container","columns":[{"items":[{"stopBlurSave":false,"selectedValue":null,"islive":false,"originalAnswer":null,"isdirty":false,"loaded":true,"showEditPanel":false,"id":1523386666838,"new":false,"Answer":null,"events":{"onFocus":null,"onBlur":null,"onChange":null},"validation":{"regExMessage":"This field is not valid","regEx":null,"maxMessage":"This field is too long","max":null,"minMessage":"This field is too short","min":null,"requiredMessage":"Please Select from the list provided","required":false},"dbSettings":{"useDB":false},"show":true,"class":"","ClientID":"selSelect","flex":100,"type":"Question_Type","multiple":false,"Choices":[{"showEditPanel":false,"Value":"Alpha","Label":"Alpha"},{"showEditPanel":false,"Value":"Beta","Label":"Beta"},{"showEditPanel":false,"Value":"Gamma","Label":"Gamma"}],"Label":"Select: ","QuestionType":"DbSelectList","displayName":"Select List"},{"multiChoiceAnswer":[],"stopBlurSave":false,"showEditPanel":false,"selectedValue":[],"islive":false,"originalAnswer":"","isdirty":false,"loaded":true,"id":1523388687433,"new":false,"Answer":"","events":{"onFocus":null,"onBlur":null,"onChange":null},"validation":{"regExMessage":"This field is not valid","regEx":null,"maxMessage":"This field is too long","max":null,"minMessage":"This field is too short","min":null,"requiredMessage":"At least one selection is required. Please provide.","required":false},"dbSettings":{"useDB":false},"show":true,"class":"","ClientID":"selSelectMultiChoice","flex":100,"type":"Question_Type","multiple":true,"Choices":[{"showEditPanel":false,"Value":"Alpha","Label":"Alpha"},{"showEditPanel":false,"Value":"Beta","Label":"Beta"},{"showEditPanel":false,"Value":"Gamma","Label":"Gamma"}],"Label":"Select (MultiChoice):","QuestionType":"DbSelectList","displayName":"Select List"},{"stopBlurSave":false,"islive":false,"originalAnswer":null,"isdirty":false,"loaded":true,"showEditPanel":false,"id":1523391283358,"new":false,"Answer":null,"events":{"onFocus":null,"onBlur":null,"onChange":null},"validation":{"regExMessage":"This field is not valid","regEx":null,"maxMessage":"This field is too long","max":null,"minMessage":"This field is too short","min":null,"requiredMessage":"At least one checkbox selection is required","required":false},"dbSettings":{"useDB":false},"show":true,"class":"","ClientID":"ckCheckboxes","flex":100,"type":"Question_Type","columnOrRow":"row","Choices":[{"showEditPanel":false,"Selected":false,"Value":"Alpha","Label":"Alpha"},{"showEditPanel":false,"Value":"Beta","Label":"Beta"},{"showEditPanel":false,"Value":"Gamma","Label":"Gamma"}],"Label":"Checkboxes: ","QuestionType":"DbCheckbox","displayName":"Checkboxes"},{"displayName":"Radio Buttons","QuestionType":"DbRadioButton","Label":"Radio Buttons: ","Choices":[{"Label":"Alpha","Value":"Alpha","showEditPanel":false},{"Label":"Beta","Value":"Beta","showEditPanel":false},{"Label":"Gamma","Value":"Gamma","showEditPanel":false}],"columnOrRow":"row","type":"Question_Type","flex":100,"ClientID":"rbRadioButtons","class":"","show":true,"dbSettings":{"useDB":false},"validation":{"required":false,"requiredMessage":"Please make your required Radio Button selection","min":null,"minMessage":"This field is too short","max":null,"maxMessage":"This field is too long","regEx":null,"regExMessage":"This field is not valid"},"events":{"onChange":null,"onBlur":null,"onFocus":null},"Answer":null,"new":false,"id":1523400578251,"showEditPanel":false,"loaded":true,"isdirty":false,"originalAnswer":null,"islive":false,"stopBlurSave":false},{"stopBlurSave":false,"todaysDate":"02/15/2019","islive":false,"originalAnswer":"","isdirty":false,"loaded":true,"showEditPanel":false,"id":1523401115019,"new":false,"Answer":"","validation":{"mdDateFilter":null,"maxDate":null,"minDate":null,"requiredMessage":"Please indicate the Start Date","required":false,"futureDatesOnly":false},"events":{"onFocus":null,"onBlur":null,"onChange":null},"show":true,"class":"","ClientID":"calStartDate","type":"Question_Type","Label":"Start Date","QuestionType":"Calendar","displayName":"Calendar"},{"stopBlurSave":true,"islive":false,"originalAnswer":[],"isdirty":false,"loaded":true,"showEditPanel":false,"id":1523403744880,"new":false,"Answer":[],"events":{"onFocus":null,"onBlur":null,"onChange":null},"validation":{"regExMessage":"This field is not valid","regEx":null,"maxMessage":"This field is too long","max":null,"minMessage":"This field is too short","min":null,"requiredMessage":"You must attach a file","required":false},"show":true,"class":"","ClientID":"attFileAttachment","flex":100,"type":"Question_Type","Label":"File Attachment","QuestionType":"FileAttachment","displayName":"File Attachment","readonly":false},{"stopBlurSave":false,"islive":false,"originalAnswer":[],"isdirty":false,"loaded":true,"showEditPanel":false,"id":1523405365752,"new":false,"Answer":[],"events":{"onFocus":null,"onBlur":null,"onChange":null},"validation":{"regExMessage":"This field is not valid","regEx":null,"maxMessage":"This field is too long","max":null,"minMessage":"This field is too short","min":null,"requiredMessage":"You must select a contact / user","required":false},"show":true,"class":"","ClientID":"conContactSearch","flex":100,"type":"Question_Type","Label":"Contact Search: ","QuestionType":"ContactSearch","displayName":"Contact Search"}]},{"items":[{"stopBlurSave":false,"selectedValue":null,"islive":false,"originalAnswer":null,"isdirty":false,"loaded":true,"showEditPanel":false,"id":1523454332160,"new":false,"Answer":null,"events":{"onFocus":null,"onBlur":null,"onChange":null},"validation":{"regExMessage":"This field is not valid","regEx":null,"maxMessage":"This field is too long","max":null,"minMessage":"This field is too short","min":null,"requiredMessage":"Please Select from the list provided","required":false},"dbSettings":{"DbSourceValueColumn":"last_name","DbSourceLabelColumn":"last_name","propertyNamesList":[{"Value":"last_name","Label":"last_name"}],"Query":"select distinct last_name from contact where deleted_date is null order by last_name","Provider":"","Name":"Integrify DB","SID":"5aa8f7c2-c0fa-4913-8df7-3a5a4430e39a","useDB":true},"show":true,"class":"","ClientID":"selSelectFromDatabase","flex":100,"type":"Question_Type","multiple":false,"Choices":[{"Value":"","Label":""}],"Label":"Select (From Database)","QuestionType":"DbSelectList","displayName":"Select List"},{"stopBlurSave":true,"showEditPanel":false,"displayName":"Select List","QuestionType":"DbSelectList","Label":"Select (MultiChoice From Database)","Choices":[{"Label":"","Value":""}],"multiple":true,"type":"Question_Type","flex":100,"ClientID":"selSelectMultiChoiceFromDatabase","class":"","show":true,"dbSettings":{"DbSourceValueColumn":"last_name","DbSourceLabelColumn":"last_name","propertyNamesList":[{"Value":"last_name","Label":"last_name"}],"Query":"select distinct last_name from contact where deleted_date is null order by last_name","Provider":"","Name":"Integrify DB","SID":"5aa8f7c2-c0fa-4913-8df7-3a5a4430e39a","useDB":true},"validation":{"required":false,"requiredMessage":"At least one selection is required. Please provide.","min":null,"minMessage":"This field is too short","max":null,"maxMessage":"This field is too long","regEx":null,"regExMessage":"This field is not valid"},"events":{"onChange":null,"onBlur":null,"onFocus":null},"Answer":"","new":false,"id":1523457217389,"loaded":true,"isdirty":false,"originalAnswer":"","islive":false,"selectedValue":[],"multiChoiceAnswer":[]},{"stopBlurSave":false,"islive":false,"originalAnswer":null,"isdirty":false,"loaded":true,"showEditPanel":false,"id":1523469461499,"new":false,"Answer":null,"events":{"onFocus":null,"onBlur":null,"onChange":null},"validation":{"regExMessage":"This field is not valid","regEx":null,"maxMessage":"This field is too long","max":null,"minMessage":"This field is too short","min":null,"requiredMessage":"At least one checkbox selection is required","required":false},"dbSettings":{"DbSourceValueColumn":"last_name","DbSourceLabelColumn":"last_name","propertyNamesList":[{"Value":"last_name","Label":"last_name"}],"Query":"select distinct last_name from contact\nwhere deleted_date is null\nand last_name < 'M'\norder by last_name;","Provider":"","Name":"Integrify DB","SID":"5aa8f7c2-c0fa-4913-8df7-3a5a4430e39a","useDB":true},"show":true,"class":"","ClientID":"ckCheckboxesFromDatabase","flex":100,"type":"Question_Type","columnOrRow":"row","Choices":[{"Selected":false,"Value":"","Label":""}],"Label":"Checkboxes (From Database):","QuestionType":"DbCheckbox","displayName":"Checkboxes"},{"displayName":"Radio Buttons","QuestionType":"DbRadioButton","Label":"Radio Buttons (From Database)","Choices":[{"Label":"","Value":""}],"columnOrRow":"row","type":"Question_Type","flex":100,"ClientID":"rbRadioButtonsFromDatabase","class":"","show":true,"dbSettings":{"useDB":true,"Query":"select distinct last_name from contact\nwhere deleted_date is null\nand last_name < 'M'\norder by last_name;","SID":"5aa8f7c2-c0fa-4913-8df7-3a5a4430e39a","Name":"Integrify DB","Provider":"","propertyNamesList":[{"Label":"last_name","Value":"last_name"}],"DbSourceLabelColumn":"last_name","DbSourceValueColumn":"last_name"},"validation":{"required":false,"requiredMessage":"Please make your required Radio Button selection","min":null,"minMessage":"This field is too short","max":null,"maxMessage":"This field is too long","regEx":null,"regExMessage":"This field is not valid"},"events":{"onChange":null,"onBlur":null,"onFocus":null},"Answer":null,"new":false,"id":1523471978884,"showEditPanel":false,"loaded":true,"isdirty":false,"originalAnswer":null,"islive":false,"stopBlurSave":false},{"displayName":"Calendar","QuestionType":"Calendar","Label":"End Date:","type":"Question_Type","ClientID":"calEndDate","class":"","show":true,"events":{"onChange":null,"onBlur":null,"onFocus":null},"validation":{"futureDatesOnly":false,"required":false,"requiredMessage":"Please indicate the End Date","minDate":null,"maxDate":null,"mdDateFilter":null},"Answer":"","new":false,"id":1523401947629,"showEditPanel":false,"loaded":true,"isdirty":false,"originalAnswer":"","islive":false,"todaysDate":"02/15/2019","stopBlurSave":false},{"stopBlurSave":false,"islive":false,"originalAnswer":[],"isdirty":false,"loaded":true,"showEditPanel":false,"id":1523403776344,"new":false,"Answer":[],"events":{"onFocus":null,"onBlur":null,"onChange":null},"validation":{"regExMessage":"This field is not valid","regEx":null,"maxMessage":"This field is too long","max":null,"minMessage":"This field is too short","min":null,"requiredMessage":"You must attach at least one file","required":false},"show":true,"class":"","ClientID":"attFileAttachmentMultiple","flex":100,"type":"Question_Type","Label":"File Attachment (Multiple)","QuestionType":"MultiFileAttachment","displayName":"File Attachment","readonly":false},{"stopBlurSave":true,"islive":false,"originalAnswer":[],"isdirty":false,"loaded":true,"showEditPanel":false,"id":1523405399912,"new":false,"Answer":[],"events":{"onFocus":null,"onBlur":null,"onChange":null},"validation":{"regExMessage":"This field is not valid","regEx":null,"maxMessage":"This field is too long","max":null,"minMessage":"This field is too short","min":null,"requiredMessage":"You must select at least one contact / user","required":false},"show":true,"class":"","ClientID":"conContactSearchMultiple","flex":100,"type":"Question_Type","Label":"Contact Search (Multiple)","QuestionType":"MultiContactSearch","displayName":"Contact Search"}]}],"readonly":false,"open":true,"show":true,"type":"Container_Type","id":"1523401651311c","ClientID":"1523401651311c","new":true,"showEditPanel":false},{"displayName":"Container","columns":[{"items":[{"stopBlurSave":false,"displayName":"Search Box","QuestionType":"SearchBox","Label":"Search Box:","type":"Question_Type","flex":100,"ClientID":"sboxSearchBox","class":"","show":true,"dbSettings":{"mappings":[{"ClientID":"emlEmail","ColumnName":"email","mapID":1523984360009},{"ClientID":"numNumber","ColumnName":"contact_id","mapID":1523984396465}],"useDB":false,"SID":"5aa8f7c2-c0fa-4913-8df7-3a5a4430e39a","Name":"Integrify DB","Provider":"","Query":"select first_name + ' ' + last_name as full_name, title, email, contact_id\n from contact\n where deleted_date is null\n and last_name not in ('Account','System', 'User')\n and ( ( first_name like '%'+isnull(@search,'%')+'%') or\n ( last_name like '%'+isnull(@search,'%')+'%' )) or\n ( (first_name + ' ' + last_name) like '%'+isnull(@search,'%')+ '%')\n order by last_name, first_name ","propertyNamesList":[{"Label":"full_name","Value":"full_name"},{"Label":"title","Value":"title"},{"Label":"email","Value":"email"},{"Label":"contact_id","Value":"contact_id"}],"hideSearchResultFields":"email, contact_id","DbSourceLabelColumn":"full_name","DbSourceValueColumn":"full_name"},"validation":{"required":false,"requiredMessage":"Use of Search Box to retrieve initial value for Email & Number is required","min":null,"minMessage":"This field is too short","max":null,"maxMessage":"This field is too long","regEx":null,"regExMessage":"This field is not valid"},"events":{"onChange":null,"onBlur":null,"onFocus":null},"Answer":"","new":false,"id":1523555067150,"showEditPanel":false,"loaded":true,"isdirty":false,"originalAnswer":"","islive":false,"friendlyAnswer":""}]},{"items":[{"displayName":"Email","QuestionType":"EmailAddress","Label":"Email: ","type":"Question_Type","flex":100,"ClientID":"emlEmail","class":"","show":true,"validation":{"required":false,"requiredMessage":"An email is required","min":null,"minMessage":"This field is too short","max":null,"maxMessage":"This field is too long","regEx":null,"regExMessage":"This field is not valid"},"events":{"onChange":null,"onBlur":null,"onFocus":null},"Answer":null,"new":false,"id":1523555237699,"showEditPanel":false,"loaded":true,"isdirty":false,"originalAnswer":null,"islive":false,"stopBlurSave":false}]},{"items":[{"displayName":"Number","QuestionType":"Number","Label":"Number: ","type":"Question_Type","flex":100,"ClientID":"numNumber","class":"","show":true,"validation":{"required":false,"requiredMessage":"A value in the Number field is required","min":null,"minMessage":"This field is too short","max":null,"maxMessage":"This field is too long","regEx":null,"regExMessage":"This field is not valid"},"events":{"onChange":null,"onBlur":null,"onFocus":null},"format":{"digitsAfterDecimal":2,"currency":{"useCurrency":false,"id":""}},"Answer":null,"new":false,"id":1523983980888,"loaded":true,"isdirty":false,"originalAnswer":null,"islive":false,"showEditPanel":false,"stopBlurSave":false}]},{"items":[{"displayName":"Button","Label":"Send Email","QuestionType":"Button","ClientID":"btnSendEmail","class":"","type":"FormTool_Type","show":true,"events":{"onClick":null},"new":true,"loaded":true,"isdirty":false,"id":1527783023508,"islive":false,"showEditPanel":false,"stopBlurSave":false,"validation":{}}]}],"readonly":false,"open":true,"show":true,"type":"Container_Type","id":"1523555049406c","ClientID":"1523555049406c","new":true,"showEditPanel":false},{"displayName":"Container","columns":[{"items":[{"displayName":"Rich Text","QuestionType":"RichText","Label":"Rich Text:","type":"Question_Type","flex":100,"ClientID":"rtxtRichText","class":"","show":true,"alwaysExpanded":true,"validation":{"required":false,"requiredMessage":"Providing some Rich Text is required","min":null,"minMessage":"This field is too short","max":null,"maxMessage":"This field is too long","regEx":null,"regExMessage":"This field is not valid"},"events":{"onChange":null,"onBlur":null,"onFocus":null},"Answer":null,"new":false,"id":1524146633777,"showEditPanel":false,"loaded":true,"isdirty":false,"originalAnswer":null,"islive":false,"stopBlurSave":false,"readonly":false,"tinymceOptions":{}}]}],"readonly":false,"open":true,"show":true,"type":"Container_Type","id":"1524146629361c","ClientID":"1524146629361c","new":true,"showEditPanel":false},{"displayName":"Container","columns":[{"items":[{"stopBlurSave":false,"islive":false,"originalAnswer":null,"isdirty":false,"loaded":true,"showEditPanel":false,"id":1524147917966,"new":false,"Answer":null,"events":{"onFocus":null,"onBlur":null,"onChange":null},"validation":{"regExMessage":"This field is not valid","regEx":null,"maxMessage":"This field is too long","max":null,"minMessage":"This field is too short","min":null,"requiredMessage":"A valid URL is required in the Link question","required":false},"show":true,"class":"","ClientID":"lnkLink","flex":100,"type":"Question_Type","Label":"Link: ","QuestionType":"Hyperlink","displayName":"Link","readonly":false}]},{"items":[{"stopBlurSave":false,"showEditPanel":false,"islive":false,"id":1525976607492,"isdirty":false,"loaded":true,"new":true,"events":{"onClick":null},"show":true,"type":"FormTool_Type","class":"","ClientID":"btnOpenLink","QuestionType":"Button","Label":"Open Link","displayName":"Button","validation":{}}]}],"readonly":false,"open":true,"show":true,"type":"Container_Type","id":"1525976430886c","ClientID":"1525976430886c","new":true,"showEditPanel":false},{"displayName":"Container","columns":[{"items":[{"islive":false,"originalAnswer":null,"isdirty":false,"loaded":true,"showEditPanel":false,"id":1524168626272,"new":false,"Answer":null,"events":{"onFocus":null,"onBlur":null,"onChange":null},"validation":{"regExMessage":"This field is not valid","regEx":null,"maxMessage":"This field is too long","max":null,"minMessage":"This field is too short","min":null,"requiredMessage":"Selection of a Time Zone is required","required":false},"show":true,"class":"","ClientID":"tzTimeZone","flex":100,"type":"Question_Type","Label":"Time Zone: ","QuestionType":"TimeZone","displayName":"Time Zone","stopBlurSave":false},{"stopBlurSave":false,"islive":false,"originalAnswer":null,"isdirty":false,"loaded":true,"showEditPanel":false,"id":1524169140368,"new":false,"Answer":null,"events":{"onFocus":null,"onBlur":null,"onChange":null},"validation":{"regExMessage":"This field is not valid","regEx":null,"maxMessage":"This field is too long","max":null,"minMessage":"This field is too short","min":null,"requiredMessage":"A Signature is required","required":false},"show":true,"class":"","ClientID":"sigSignature","flex":100,"type":"Question_Type","Label":"Signature","QuestionType":"Signature","displayName":"Signature"},{"stopBlurSave":false,"disabled":false,"islive":false,"originalAnswer":null,"isdirty":false,"loaded":true,"showEditPanel":false,"id":1524240541343,"new":false,"Answer":null,"events":{"onFocus":null,"onBlur":null,"onChange":null},"validation":{"regExMessage":"Invalid: Must be at least 8 characters & contain at least one number, one upper case, one lower case & one special character","regEx":"^(?=^.{8,}$)(?=.*\\d)(?=.*[!@#$%^&*]+)(?![.\\n])(?=.*[A-Z])(?=.*[a-z]).*$","maxMessage":"This field is too long","max":null,"minMessage":"This field is too short","min":null,"requiredMessage":"Providing a Password is required","required":false},"show":true,"class":"","ClientID":"pwdPassword","flex":100,"type":"Question_Type","Label":"Password","QuestionType":"Password","displayName":"Password","Help":""}]},{"items":[]}],"readonly":false,"open":true,"show":true,"type":"Container_Type","id":"1525976467575c","ClientID":"1525976467575c","new":true,"showEditPanel":false}],"showSectionOutline":true,"showAsCollapsible":true,"Label":"Samples of Basic Question Types","displayName":"Section"}],"version":1,"rules":[],"script":"/*******************************************************************************\n * \n * Global Variables to Support Programmatic Access to Questions & Components\n * \n * ****************************************************************************/\nvar secQuestions = intForm.getElementByClientID('secQuestions');\nvar stxtShortText = intForm.getElementByClientID('stxtShortText');\nvar ltxtLongText = intForm.getElementByClientID('ltxtLongText');\nvar selSelect = intForm.getElementByClientID('selSelect');\nvar selSelectFromDatabase = intForm.getElementByClientID('selSelectFromDatabase');\nvar selSelectMultiChoice = intForm.getElementByClientID('selSelectMultiChoice');\nvar selSelectMultiChoiceFromDatabase = intForm.getElementByClientID('selSelectMultiChoiceFromDatabase');\nvar ckCheckboxes = intForm.getElementByClientID('ckCheckboxes');\nvar ckCheckboxesFromDatabase = intForm.getElementByClientID('ckCheckboxesFromDatabase');\nvar rbRadioButtons = intForm.getElementByClientID('rbRadioButtons');\nvar rbRadioButtonsFromDatabase = intForm.getElementByClientID('rbRadioButtonsFromDatabase');\nvar calStartDate = intForm.getElementByClientID('calStartDate');\nvar calEndDate = intForm.getElementByClientID('calEndDate');\nvar attFileAttachment = intForm.getElementByClientID('attFileAttachment');\nvar attFileAttachmentMultiple = intForm.getElementByClientID('attFileAttachmentMultiple');\nvar conContactSearch = intForm.getElementByClientID('conContactSearch');\nvar conContactSearchMultiple = intForm.getElementByClientID('conContactSearchMultiple');\nvar sboxSearchBox = intForm.getElementByClientID('sboxSearchBox');\nvar emlEmail = intForm.getElementByClientID('emlEmail');\nvar numNumber = intForm.getElementByClientID('numNumber');\nvar rtxtRichText = intForm.getElementByClientID('rtxtRichText');\nvar lnkLink = intForm.getElementByClientID('lnkLink');\nvar btnOpenLink = intForm.getElementByClientID('btnOpenLink');\nvar tzTimeZone = intForm.getElementByClientID('tzTimeZone');\nvar sigSignature = intForm.getElementByClientID('sigSignature');\nvar pwdPassword = intForm.getElementByClientID('pwdPassword');\n\nconsole.clear();\nconsole.log(JSON.stringify(stxtShortText, undefined, 2));\n\n/*******************************************************************************\n * \n * Short Text Question Effect Demonstation via CheckBox Control\n * \n ******************************************************************************/ \nvar cbShortTextQuestionEffects = intForm.getElementByClientID('cbShortTextQuestionEffects');\n// \n// Initialize Short Text Question Effects Checkbox\n//\nfunction resetShortTextEffects(){\n cbShortTextQuestionEffects.Answer = \"Show\";\n\n for(var i=0;i '') {\n let email_directive = 'mailto:'+emlEmail.Answer\n email_directive += '?subject=Greetings%20from%20Integrify!';\n email_directive += \"&body=Thank%20you%20for%20trying%20out%20the%20JavaScript%20Example%20Form's%20'SEND%20EMAIL'%20button.\"\n email_directive += '%0D%0DFond%20Regards%20%26%20Best%20Wishes,';\n email_directive += '%0D%0DThe%20Integrify%20Team';\n newwindow=window.open(email_directive,'link','status=0,left=1,top=1,height=1,width=1');\n newwindow.close(); // don't need window after opening default email client\n } else alert(\"ERROR: There is no address in the adjacent Email question to send a message!\");\n}\n\n/*******************************************************************************\n * \n * [ OPEN LINK ] Button onClick Function\n * \n ******************************************************************************/ \nintForm.getElementByClientID('btnOpenLink').events.onClick = function(){\n if (lnkLink.Answer > '') {\n newwindow=window.open(lnkLink.Answer,'link','status=0,left=50,top=50,height=630,width=1120');\n if (window.focus) {newwindow.focus()} \n //\n // mailto: doesn't need the window around after opening default email client\n //\n if (lnkLink.Answer.substring(0, 7) === 'mailto:') newwindow.close();\n } else alert(\"ERROR: There is no value in the adjacent Link question to open!\");\n}\n\n/*******************************************************************************\n * \n * [ REQUIRED / OPTIONAL ] Button onClick Function\n * \n ******************************************************************************/ \nintForm.getElementByClientID('btnRequiredOptional').events.onClick = function(){\n stxtShortText.validation.required = (!(stxtShortText.validation.required));\n ltxtLongText.validation.required = (!(ltxtLongText.validation.required));\n selSelect.validation.required = (!(selSelect.validation.required));\n selSelectFromDatabase.validation.required = (!(selSelectFromDatabase.validation.required));\n selSelectMultiChoice.validation.required = (!(selSelectMultiChoice.validation.required));\n selSelectMultiChoiceFromDatabase.validation.required = (!(selSelectMultiChoiceFromDatabase.validation.required));\n ckCheckboxes.validation.required = (!(ckCheckboxes.validation.required));\n ckCheckboxesFromDatabase.validation.required = (!(ckCheckboxesFromDatabase.validation.required));\n rbRadioButtons.validation.required = (!(rbRadioButtons.validation.required));\n rbRadioButtonsFromDatabase.validation.required = (!(rbRadioButtonsFromDatabase.validation.required));\n calStartDate.validation.required = (!(calStartDate.validation.required));\n calEndDate.validation.required = (!(calEndDate.validation.required));\n attFileAttachment.validation.required = (!(attFileAttachment.validation.required));\n attFileAttachmentMultiple.validation.required = (!(attFileAttachmentMultiple.validation.required));\n conContactSearch.validation.required = (!(conContactSearch.validation.required));\n conContactSearchMultiple.validation.required = (!(conContactSearchMultiple.validation.required));\n// 2018-05-10: Search Boxes Best Used Just to Populate Other Question Types\n sboxSearchBox.validation.required = (!(sboxSearchBox.validation.required));\n emlEmail.validation.required = (!(emlEmail.validation.required));\n numNumber.validation.required = (!(numNumber.validation.required));\n rtxtRichText.validation.required = (!(rtxtRichText.validation.required));\n lnkLink.validation.required = (!(lnkLink.validation.required));\n tzTimeZone.validation.required = (!(tzTimeZone.validation.required));\n sigSignature.validation.required = (!(sigSignature.validation.required));\n pwdPassword.validation.required = (!(pwdPassword.validation.required));\n}\n\n/*******************************************************************************\n * \n * [ HIGHLIGHT / NORMAL ] Button onClick Function (Handful of Question Types)\n * \n ******************************************************************************/ \nintForm.getElementByClientID('btnHighlightNormal').events.onClick = function(){\n//\n// Short Text (includes loop to adjust associated CSS checkbox)\n//\n\n if (stxtShortText.class===''){\n stxtShortText.class=\"Highlighted CenterAligned Bold\";\n\n for(var i=0;i Start Date ?\n//\n if (calStartDate.Answer !== null || calEndDate.Answer !== null) {\n var isoStart = new Date(calStartDate.Answer).toISOString();\n var isoEnd = new Date(calEndDate.Answer).toISOString();\n \n if ( (calStartDate.Answer === null) || (!(isoEnd > isoStart)) )\n errors +=\"\\n ➣ End Date must be AFTER Start Date\";\n\n//\n// If calendar questions had time components, the following would be better\n//\n// var Start = Date.parse(calStartDate.Answer);\n// var End = Date.parse(calEndDate.Answer);\n// if ( (calStartDate.Answer === null) || (!(End > Start)) )\n// errors +=\"\\n ➣ End Date must be AFTER Start Date\";\n\n }\n//\n// If Radio Button Selection, It Must Also Be Checked\n//\n if (rbRadioButtons.Answer) {\n var found = false;\n for(var i=0;i