cforms II User Forum

Registration is currently disabled.
Guest

FAQs

Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS Related Topics
CformsII. Dynamic forms.
November 30, 2012
1:19 pm
Aitor
Guest
Hello.
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

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
25 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3708

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5307

Posts: 18665

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)