Skip to content

Instantly share code, notes, and snippets.

@DavidStrada
Last active March 24, 2017 16:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DavidStrada/b6f51e198c43aa23e40e572edbf932d2 to your computer and use it in GitHub Desktop.
Save DavidStrada/b6f51e198c43aa23e40e572edbf932d2 to your computer and use it in GitHub Desktop.
emd settings
fields:
mailchimp_key:
type: text
validate: required
user_section:
type: section
display: Users
add_new_users:
type: toggle
display: Add New Users?
width: 33
user_disable_opt_in:
type: toggle
display: Disable Opt In?
width: 33
user_check_permission:
type: toggle
display: Check Permission?
width: 33
user_mailchimp_list_id:
type: text
display: 'Mailchimp List ID'
validate: required_if:add_new_users,true
width: 50
user_permission_field:
type: text
display: Permission Field
validate: required_if:user_check_permission,true
width: 50
forms_section:
type: section
display: Forms
forms:
type: grid
display: ' '
fields:
mailchimp_list_id:
type: text
display: 'Mailchimp List ID'
validate: required
width: 35
disable_opt_in:
type: toggle
display: Disable Opt In?
width: 15
form:
type: form
validate: required
width: 50
check_permission:
type: toggle
display: Check Permission?
width: 30
permission_field:
type: text
display: Permission Field
validate: required_if:user_check_permission,true
width: 70
fname_field:
type: text
display: First Name Field
validate: required
width: 33
lname_field:
type: text
display: Last Name Field
validate: required
width: 33
email_field:
type: text
display: Email Field
validate: required
width: 33
mode: stacked
min_rows: "1"
add_row: Add Form
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment