Unfortunately, the username and password you have entered do not match!

Registration

Unfortunately, this username is already taken!

Unfortunately, this e-mail address is already used!

Please retype the verification code.

All fields are required

Feedback - on/off hidden elements

Welcome guest,
You have 1 votes remaining.

24 votes

on/off hidden elements

by anonymous on 15 Jul 2010 04:20 | 1445 Hits | 3 comment(s)

Be able to switch on and off hidden elements such as date of submission, IP of submitter, referring page, referring site, browser, OS and so on....

Yahoo! twitter
Status: none Subscribe




Gravatar
Brian Greenwood (23.06.2011 (00:17:14))
On/Off Hidden Elements Yes No You can do this using a four step process,
1. include your favorite toggle script for showing or hiding an id in the script tab.

2. Create your bolean field as a radio button set with your default (add in the "[c]" next to the default value that means the following values should be hidden)

3. Add an OnChange="yourscript (id_to_toggle_d isplay)" to the additional attributes field of your boolean field (this way it will call the script each time the field is changed toggling the display on and off)

4. Set the css for the field you want to hide to "display:no ne;"

Quote
http://www.thecreativegood.org
Gravatar
RPPEO (19.11.2012 (09:22:06))
Needs to be a ONE Step option Yes No I agree, this should be a simple click on, click off, with a condition, not a four step dance with very poor documentation. Others do it well, RSForms does not. Quote
Gravatar
Alexandru Plapana (19.11.2012 (12:56:23))
@RPPEO Yes No Actually RSform! does not do it at all. RSForm!Pro is a different story. You can use the built-in conditional fields, as explained here:

http://www.rsjoomla.com/blog/view/171-show-hide-a-field-in-rsform-pro.html
Quote
http://rsjoomla.com

1000 Characters left

Antispam Refresh image Case sensitive

How many votes ?

close

Please select the appropiate flag

Spam Inappropriate Duplicate Wrong Category

Please select the correct category

close

Please select the category

close