Click to See Complete Forum and Search --> : if/then linked to radio buttons...


brellis
07-22-2003, 03:36 PM
I'm ignorant when it comes to javascript...but it seems like just about anything can be done with it. Can this be done? If so, how?

I want to put 3 radio buttons on a web page for teachers (elem, middle, high). When the elem radio button is selected a certain portion of html is parsed (it's actually pulling from a filemaker database). If the middle radio button is selected, then a different set of html is parsed. And, if the third radio button for high school teachers is selcted, then only the third set of html is parsed.

:confused:Any ideas?:confused:
Bruce

Jona
07-22-2003, 03:39 PM
If the data is being parsed on the server and the information is being pulled from the server, your best bet is to use a server-side script to process all of the data, rather than combining both client- and server-side technologies together.

[J]ona

Khalid Ali
07-22-2003, 03:44 PM
What you can do is submit the form when a user clicks on radio button..and on the serer side you will have the value of selected radio button,where you can perform your query depending upon the value

brellis
07-22-2003, 04:02 PM
To be more precise, this is what I'm trying to do. I'm trying to only show the selection of schools that the the teacher is located within. I currently have 3 drop down boxes which works okay...but they can choose a school in each one - that's bad. On the form they are filling out, they have to identify which school they're at.

Jona
07-22-2003, 04:10 PM
Could you provide a link?

[J]ona

brellis
07-22-2003, 04:49 PM
Not really. I'm running it on a Windows XP machine that has Filemaker 6 also. The district webmaster won't let me have a crack in the firewall. Something about security ;)
Thanks, though.