Skip to content

Instantly share code, notes, and snippets.

@sjenkinsdc
Created December 5, 2013 16:16
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 sjenkinsdc/7808281 to your computer and use it in GitHub Desktop.
Save sjenkinsdc/7808281 to your computer and use it in GitHub Desktop.
Dynamic CCE forms for better UX: www.tamberra.com
<form class="form-horizontal" name="eventSubmit" id="eventSubmit" method="POST" enctype="multipart/form-data" action="">
<fieldset class="event_info">
<legend>Event Information</legend>
<label>Event name:</label>
<div class="input-prepend">
<input class="required" type="text" name="title" placeholder="Event name">
</div><br>
<label>Category:</label>
<div class="input-prepend">
<select name="Type" class="required" id="event_cat">
<option value="">---Select---</option>
<pbs:ccefields module=1 class=11 field="Type" all=1 optionlist=0>
</select>
</div>
<label class="disabledlabel" for="event_subcat">Sub-Category:</label>
<div class="input-prepend">
<select name="SubType" class="required" id="event_subcat" disabled>
<option value="">---Select---</option>
</select>
</div>
</fieldset>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment