I have a problem when I try doing dynamic forms on my web page.
There is someone that can help me with some kind of steps in order to make one dynamic form?
I try to do it in the HTML code:
<!–?php $fields = array(); $formdata = array( array('Selecciona','textfield',0,0,0,0,0) ); $i=0; foreach ( $formdata as $field ) { $fields['label'][$i] = $field[0]; $fields['type'][$i] = $field[1]; $fields['isdisabled'][$i] = $field[2]; $fields['isreq'][$i] = $field[3]; $fields['isemail'][$i] = $field[4]; $fields['isclear'][$i] = $field[5]; $fields['isreadonly'][$i++] = $field[6]; } insert_custom_cform($fields,'2'); ?–>
However the web page doens´t show anything.
My aim is:
When one user selects one option of two checkboxes, it is showed one dynamic form bellow. For example if the user selects "yes" a multiple box will be showed in order to select something; however if the user selects "No" the dynamic form will not be showed.
I don´t know if there is another plugin to get this issue.
Thank you a lof for any response.
Aitor
FAQs
Home
Add Reply
Add Topic
Topic RSS
Related Topics
Quote










