On a website there is going to be a form that the user can fill out. However this form is also going to function as a search form as well. Certian conditions may disable changing of what is in the field. I know how to enable or disable each one indivually, but my question is, is there a way to have all of them enable or disabled based on some settings? It would save a lot of time being able to do that, rather than going to each individual one, checking the settings and disabling or enabling there.
This is how I disable them:
disable="disabled" onfocus="this.blur();" style="background: #e2e2e2"
Just to try something I put that in my style.css with a div assigned to it, but it didn't work (I didn't think it would, but hey it was worth a shot). I'm not sure if it can be done with just using html, or if javascript or php will be needed, but they are html items so I'll start with this section of the forums. If it needs to be moved that's fine
Thanks.

New Topic/Question
Reply



MultiQuote




|