if( $properties['type'] == "checkboxes" ) {
$new_value = "";
foreach( $_POST[$name] as $item) {$new_value .= $item.", ";}
$value = $new_value;
}
I was reading through the documentation, and am unsure of something. Is it possible to get the iteration number of the field?
For example, I’m using this method:
$form->setting( 'field_before', '<div class="%s" id="step-1">' );
</div>
I’d like to replace the 1 in the field id above to be the field number, so the form will generate ‘step-1’, ‘step-2’ etc. Is this possible?
Love the script! I am wondering how I can add a textarea with Terms and Conditions BEFORE a required checkbox indicating the the Terms have been read and before the Register button.
Thank you!
Garyc40: This is a good script. Thanks for putting it together. I have been writing a PHP /MySQL back-end to build/save these forms for dynamic use on a website and have two questions:
1. Why do you have both an “options” array and an “items” array? They do not appear to both be used on a single element (thus no overlap), and seem to do roughly the same thing. Is there a reason that these are not merged into one variable?
2. Is there a value that I can set to DISABLE a form field. In this case, I show a “preview” of the form before it is officially completed, and I want to set the “submit” button as disabled so that it can still be seen, but not clicked. I can think of a handful of other situations where it also might be useful to be able to show a form field, but have it disabled.
Thanks!
how to validate a domain name inputs?
Hello,
Does the script support SMTP Authentication?
Thanks, Ross.


85 Purchases
26 Comments