<script>
window.module.lp.form.data.validationRules['field_name'].digits = true;
</script>
Replace 'field_name' with the ID of your form field you want to add this validation to.
<script>
window.module.lp.form.data.validationRules['field_name'].digits = true;
</script>
Replace 'field_name' with the ID of your form field you want to add this validation to.
Be sure to first change your forms confirmation to 'Goto another webpage' and set a default fallback URL
Drop this script into your javascript box. Set the placement to 'before body end tag'
<script>
$("#gender").live('change', function() {
switch ($(this).val()) {