LookitsPuck
April 29th, 2004, 03:17 PM
Okay, on my main page [for a class], I have the page broken into different divisions in CSS. Each division has their own forms [except for the show movie reviews feature]. Now, the first one [update] has checkboxes and a text box. The text box takes in the movie id and then the user clicks their desired checkboxes [i.e. which values they'd like to change].
The data is then sent to a php page and based upon whether or not the variables were set, the form types print out. For example, if the user clicked Movie Title, Movie Rating, then on the next page 2 text boxes would be on there instead of all of the different Movie attributes. I then need to validate the data entered into the boxes. How would I go about doing this since the page is updated based upon how many checkboxes are checked?
On my main page I have Javascript verification, so I know how to do it. I just don't know how to do it with a page that dynamically changes the number of text boxes on the page.
Thanks all!
-Steve
The data is then sent to a php page and based upon whether or not the variables were set, the form types print out. For example, if the user clicked Movie Title, Movie Rating, then on the next page 2 text boxes would be on there instead of all of the different Movie attributes. I then need to validate the data entered into the boxes. How would I go about doing this since the page is updated based upon how many checkboxes are checked?
On my main page I have Javascript verification, so I know how to do it. I just don't know how to do it with a page that dynamically changes the number of text boxes on the page.
Thanks all!
-Steve