Last active
September 19, 2022 18:57
-
-
Save leogopal/b1f05cf334819ff8216c3678de5527c8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"Project Type": [ | |
"customize", | |
"design_and_develop", | |
"fix", | |
"install", | |
"consultation" | |
], | |
"Project Subject": [ | |
"plugin", | |
"theme", | |
"site", | |
"ecommerce_site" | |
], | |
"Preferred Contractor Number": "&preferredContractor=42701", | |
"Referral": "ref=k8TwB", | |
"Budget Agreed upon": "exactBudget=500" | |
}, | |
{ | |
"Prefix": "prefix=example prefix", | |
"Title": "title=Example Title", | |
"Affix": "affix=example affix", | |
"Description": "desc=This is a Project Description example" | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"options": { | |
"preventAutoAppend": true, | |
"preventAutoFocus": true, | |
"submitCallback": "window.onFormlessSubmited" | |
}, | |
"tags": [ | |
{ | |
"tag": "input", | |
"type": "text", | |
"id": "first-tag", | |
"value": "Prefilled value here", | |
"cf-questions": "Prefilled1&&with follow-up1&&with follow-up11||Prefilled2&&with follow-up2&&with follow-up22" | |
}, | |
{ | |
"tag": "select", | |
"cf-input-placeholder": "Choose one of the above", | |
"multiple": "multiple", | |
"cf-questions": "Choose multiple of the elements from the list", | |
"children": [ | |
{ | |
"tag": "option", | |
"name": "option-dropdown-1", | |
"cf-label": "option-1", | |
"value": "-1" | |
}, | |
{ | |
"tag": "option", | |
"name": "option-dropdown-1", | |
"cf-label": "option-2", | |
"value": "-2" | |
} | |
] | |
}, | |
{ | |
"tag": "fieldset", | |
"type": "Radio buttons", | |
"cf-input-placeholder": "Choose one of the above", | |
"cf-questions": "Choose one of the radioss", | |
"children": [ | |
{ | |
"tag": "input", | |
"type": "radio", | |
"name": "radio-buttons-1", | |
"cf-label": "radio-1", | |
"checked": "checked" | |
}, | |
{ | |
"tag": "input", | |
"type": "radio", | |
"name": "radio-buttons-1", | |
"cf-label": "radio-2" | |
} | |
] | |
}, | |
{ | |
"tag": "fieldset", | |
"type": "Checkboxes", | |
"cf-input-placeholder": "Choose above", | |
"cf-questions": "Choose some checkboxes", | |
"children": [ | |
{ | |
"tag": "input", | |
"type": "checkbox", | |
"name": "checkboxes-buttons-1", | |
"cf-label": "checkbox-1", | |
"checked": "checked" | |
}, | |
{ | |
"tag": "input", | |
"type": "checkbox", | |
"name": "checkboxes-buttons-1", | |
"cf-label": "checkbox-2" | |
} | |
] | |
}, | |
{ | |
"tag": "input", | |
"type": "password", | |
"cf-input-placeholder": "Password field", | |
"cf-questions": "Write a password" | |
}, | |
{ | |
"tag": "input", | |
"type": "text", | |
"pattern": ".{5,10}", | |
"cf-input-placeholder": "Input w. pattern attribute", | |
"cf-error": "No less than 5 and no more than 10 characters", | |
"cf-questions": "Keep between 5-10 characters" | |
}, | |
{ | |
"tag": "input", | |
"type": "text", | |
"required": "required", | |
"cf-questions": "This field is required (attribute)", | |
"cf-error": "Please write something" | |
}, | |
{ | |
"tag": "input", | |
"type": "text", | |
"required": "required", | |
"cf-questions": "This field uses window.testValidation", | |
"cf-validation": "window.testValidation", | |
"cf-error": "Check the window.testValidation method" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment