You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Writing HTML for a survey can involve a lot of copying and pasting similar code.
For example:
<h5>Would you like to help as a volunteer?</h5><divclass="row"><divclass="col s12"><p><inputtype="checkbox" id="volunteer-1" value="I would like to mentor others" />
<labelfor="volunteer-1">I would like to mentor others</label></p><p><inputtype="checkbox" id="volunteer-2" value="I would like to help with sponsorship" />
<labelfor="volunteer-2">I would like to help with sponsorship</label></p><p><inputtype="checkbox" id="volunteer-3" value="I would like to offer a meeting space" />
<labelfor="volunteer-3">I would like to offer a meeting space</label></p><p><inputtype="checkbox" id="volunteer-4" value="I would like to help organize meetups" />
<labelfor="volunteer-4">I would like to help organize meetups</label></p><p><inputtype="checkbox" id="volunteer-5" value="I would like to bring food" />
<labelfor="volunteer-5">I would like to bring food, snacks, coffee, etc.</label></p></div></div>
It would be nice to generate the HTML based on template JSON, also ensuring that the HTML and responses from the survey are compatible.
The HTML above could be generated from something like:
{
"volunteer": {
"title": "Would you like to help as a volunteer?",
"checkboxes": [
"I would like to mentor others",
"I would like to help with sponsorship",
"I would like to offer a meeting space",
"I would like to help organize meetups",
"I would like to bring food"
]
}
}
The text was updated successfully, but these errors were encountered:
Writing HTML for a survey can involve a lot of copying and pasting similar code.
For example:
It would be nice to generate the HTML based on template JSON, also ensuring that the HTML and responses from the survey are compatible.
The HTML above could be generated from something like:
The text was updated successfully, but these errors were encountered: