Advanced Search

Search by Keyword
Search by User Name
   

Search Options

Find Posts from
Sort Results by
Jump to Result Number
Search in Categories

Search Results

Searched for: show hide
08 Dec 2008 16:09

evangelos.theodorou

thanks a lot for the great example... i got this working but i need the following setup... i have listA with values A,B,C then i have 3 other lists (list1,list2,list3) which i need to stay hidden. when a user clicks on item A i need list1 to appear... B-> list2 and so on..

by follwoing this guide i can only get it to work for the first list only...

Thanks in advance
Category: RSForm!
03 Dec 2008 12:45

adamevans

I have managed to write the javascript to show/hide fields based on radio/dropdown selections. The only thing left I need help on is resetting those field to their \"original\" hidden state if the reset button is pushed. Right now it changes the selection back to their default checked item but they do not hide unless the page is refreshed. Does anyone know how to force a page refresh if the reset button is selected....or maybe you know a better way to reset the page. Any help is appreciated.
Category: RSForm! Pro
01 Dec 2008 21:49

adamevans

I have RSForm Pro...not sure where this code should be entered.
Category: RSForm!
29 Nov 2008 13:25

arma

Where did you put that previous javascript code ? That one to hide fields.
And witch version of rsForm you got again ?

If you got RSForm then :

1)login to you backend
2)goto components RSform!
3)take forms manager
4)pick a form you are interested in
5)and to the left of that form configuration you should see tabs like - Form Edit | Form Style | Thank You | Emails | Scripts
6)pick Form Style tab and enter code there. Don't forget to change \"YourResetButtonId\" and...
Category: RSForm!
28 Nov 2008 21:28

adamevans

where is the form style? Not sure where to paste this code.

function goreset() {
if (document.getElementById('YourResetButtonId')) {
document.getElementById('YourElementId').style.display = 'none';
}else{}
}
Category: RSForm!
28 Nov 2008 18:18

arma

Well you can do it by adding almost same javascript to reset buttons id.

1) add this inside your existing javascript code in Form style:
function goreset() {
	 if (document.getElementById('YourResetButtonId')) {
	 document.getElementById('YourElementId').style.display = 'none';
 }else{}
}

2)Then just add this to yours reset buttons Aditional attributes:
onclick=\"goreset();\"
Note: YourElementId is the same that you used in previous javascript(the one you want to hide).
Im not too...
Category: RSForm!
28 Nov 2008 16:24

adamevans

OK...I figured it our....now I need to be able to reset the form and have the fields hide when the reset button is clicked...any ideas
Category: RSForm!
28 Nov 2008 14:40

adamevans

I'm new with javascript, can you provide any sample code to help me? thx.
Category: RSForm!
28 Nov 2008 14:39

arma

Well then you can use javascript above to do it but you could do it not to field itself but give your div or td wich ever you use a id and hide whole div/td
Category: RSForm!
28 Nov 2008 14:27

adamevans

It needs to appear when the textbox appears....I need them both to appear and hide at the same time.
Category: RSForm!
28 Nov 2008 10:26

arma

Can't you just remove canption in fields configuration ?
Category: RSForm!
27 Nov 2008 19:37

adamevans

27 Nov 2008 15:05

adamevans

Strafe any idea about the field caption...it's the last thing I need to address and the form is working.
Category: RSForm!
27 Nov 2008 13:22

adamevans

My text field label is still showing on the hidden field, how do I hide the textbox and label?
Category: RSForm!
19 Nov 2008 10:59

octavian

Hello,

Read this tutorial:

www.rsjoomla.com/index.php/RSform-How-To...-Selection.html#5651

One small change though: instead of the onchange additional attribute, use onclick, so that it says:
onclick=\"hide_all(this);\"

Onchange only works for dropdowns. Onclick works for everything else.
Category: RSForm!
Displaying 361 - 375 out of 404 results.