Diabling / enabling form elements

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
hame22
Forum Contributor
Posts: 214
Joined: Wed May 11, 2005 5:50 am

Diabling / enabling form elements

Post by hame22 »

Hi I have a form where a user can select different types of product. Depending on what product they choose certain parts of the form become enabled (extra text boxes).

I was going to do this in javascript though apparentley there are accesibility issues with this.

Can this be achieved through PHP, if so how?

thanks in advance
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

Yes, i can be done, but you would need to keep reloading the page every time a product was chosen
hame22
Forum Contributor
Posts: 214
Joined: Wed May 11, 2005 5:50 am

Post by hame22 »

Was hoping that wasnt ging to be the only option!!

In your view would you use javascript or php route, considering this page is my point of sale?

thanks for your time
Post Reply