Good question... I dunno what is the right answer to your question. I'll do some Googling and get back to you if I bump into an useful answer. You should email the people at iPage as they probably can help you..
To the next page..
Is an example..
Well can you show me in code what I should do please?.
If you post a link to what you have so far [Order Form & Confirm Page].
I'll help all I can. But I need something to start with..
Cheers for the reply's..
All I have is the complete web iPage site it is only a page tho,.
If you want to take a look at that then I would be most grateful..
But I would need your email address as this forum does not let me post all of the code..
You can attach it to your message if it is too large to post..
I have attached the source that I have so far.
Alright I got it..
I'll try to look at this evening..
However, I'm a little confused why each of your.
Are within their own.
Using your Sage Payroll as an example..
I would assume that you could only order one of the options..
It doesn't make sense to order.
Up to 50 Employees.
Post back and let me know if my assumption is correct..
Like willy said, the problem has to be because each check box is in a seperate form. That means when you check the box it won't do anything, or when you press the submit button it wont' do anything with the check boxes...
Sorry for the late reply..
I no this might be a problem, but I do need the user to be able to select multple checkboxes and the I want the function behind the submit button to add the total cost plus vat..
Hope this is better expaind.
Thanks Again Willy.
As others have pointed out above, this is a job for a server side script, not client side. Trusting client side scripts with things like this is nothing but wrong..
I suggest we have this thread moved to the PHP Forum.
You'll need to make sure your host supports PHP, too..
I think you can do this one with cookies, using the PHP setcookie() method and some simple if's... post back whetherPHP will work or not and we can work out some specific code...
How would I see if PHP would work or not?.
Can you give me some code so I can see if it works.
That still doesn't answer if a user is allowed to order:.
Up to 50 Employees.
Checkboxes by default are meant for multiple selections..
If you only wanted one to be selected, you would need to.
Loop thru the checkbox[group] array and validate if more.
Than one was selected, and if so, return false..
Anticipating the answer to the type of question I posed.
Would certainly aide in preventing numerous script rewrites..
But, I see you have decided to go with a PHP script..
Therefore, I will take my leave and wish you....
Why dont you use radio buttons instead of checkboxes?.
Hah, someone's been doing a little too much javscripting..
If you are going to validate the form in anyway you will.
All in PHP is flawed in that instead of validating the.
Form clientside, you will have to make multiple trips.
Back and forth to the server..
I'm sure you'll soon figure that out for yourself tho..
That is, if you were serious about writing a PHP script..
This may help..
One of the reasons is to provide continuity to the look.
Of a form. Either using all Radio Buttons or all Checkboxes..
Put this code in a file called test.php or similar, the .php ending is very important. If you get a lot of info about PHP displayed when you view it on your remote host, then it's installed...
I wholeheartedly agree that final validation should be.
Done Serverside but using a combination of both would.
Prevent Submitals with omitted fields, numerical.
Entries that contain NaN, zip codes which are.
More than 5 characters, etc....
Regarding how many trips to the server?.
I suppose that would be in direct proportion to the clients.
Ignorance. Invariably, if the Submittal was returned with 5.
Errors highlighted in red, it will take the average inept.
User two more times to get it right..