What is the script supposed to do ? I am sorry but when i had a look at it I did not understand it's purpose![]()
What is the script supposed to do ? I am sorry but when i had a look at it I did not understand it's purpose![]()
I haven't looked at it too closely, but it's a manager to control which elements of a form are required, like a checkbox that must be checked to agree to the TOS, for example.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
Twey. Thanks for solving my first problem.
Any answer on the second query about hiding complete table rows? And this time I have re-read the instructions and searched all Forum pages.
Use the answer I gave to chrisd84, but replace "div" with "tr".
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
I must be really dumb at this. I have replaced the lines as suggested and replaced "div" with "tr". It does not work and I get a script error. I have tried putting <label> in many different places around or in the <div> or <tr> and still nothing.
What should I be doing?
I tried making the revisions to the code so I could hide a table or a row but it is not working for me either. Here are links to the code. What am I doing wrong? I can get it to work without div tags. Wooley I tried hiding a row as well and it is not working. I actually need to hide a number of rows that is why I tried using the div tag but I just tried making the adjustment to the <tr> tag but that did not work either. I am also feeling pretty dumb.
http://d1890571.user21.savvysitesinc.com/test.html
http://d1890571.user21.savvysitesinc...FormManager.js
Thanks for your help.
Last edited by nburkha1; 03-27-2007 at 01:35 PM.
hey Twey,
very nice script.
but i am stuck with this lill problem, if it can be fixed....
i have a form made inside a php, it have combo box/ menu
which is duplicated with the help of php cause its pulling data from DB
the name of combo is prop[] and getting duplicated over
but every duplicated drop down have different values but same name like prop[].
i am stuck how can i tell it to DEPEND on which combo
here look at the page
http://absolutedge.com.pk/bellomonil...php?id_prd=143
i just want to remove that text area, i just want if the client selects
1strand = one textbox appears
2strand = two textbox appears
3strand = three textbox appears
thanks in advance
Tamuir
Any more thoughts yet on the posts of last week from me and nburkha1 about hiding rows/divs?
So I have also the same problem to hide table and rows i just write here to be notifyed if there is an solution.
And i want to use this oportunity to say - This is a gret work!
thank you
Greatz: Andy
I am also having this issue. Everything works fine until you want to add the DIV code.
I am looking to sub out 2 visual looks for a price field. If the user selects one option I want it to say $[field] [?] and the other option would show from$[field] - to $[field] [?].
[?] = my help popup
So, I need to be able to hide text, a field(s) and other javascript. Using a DIV would be great!
Has anyone gotten this to work? or are we just working on something that is hopeless?
Bookmarks