Page 1 of 1

1 form. dynamic text from drop down boxes

Posted: Sat Feb 12, 2005 1:52 pm
by abhic
Hello,
I need to script a small page which will have two main issues. I want to have drop down boxes on one side and based on the choices made in the boxes, respective text becomes visible on the other side. In the text that becomes visible, I need to be able to enter additional bits of text in certain blanks. At the end of all this, I can click submit or any generic button which will show me a cleaner view of the composed text.
Thank you all.
Regards.

Posted: Sat Feb 12, 2005 1:57 pm
by jonemo
And what is your question now? Basically that is just two scripts, if you want to and can use JavaScript, its even just one.

Posted: Sat Feb 12, 2005 2:06 pm
by abhic
Hello,
Sorry I guess. I need help with this. i have no idea how to code this.
Thanks.

...

Posted: Sat Feb 12, 2005 2:09 pm
by s.dot
are you expecting someone to code it for you, or you just need to know the logic?

...

Posted: Sat Feb 12, 2005 2:12 pm
by s.dot
I don't know if this is the most logical way of doing it but you could do this

Have your dropdown boxes on the left side, have it so when you click them, it sends the value of that form to a separate script on your server, with the target of target="rightside"

Then on the right site have an iframe with the name of "rightside" (so your dropdown box selection is sent here) and have the source be rightside.php ... or some script that acts on the value you had sent to it.

Posted: Sat Feb 12, 2005 2:16 pm
by abhic
Hi Scot,
That's what i was thinking.