Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Alter another field's input state via selection?
Seabody Offline
Member
***
Posts: 54
Joined: Aug 2012
Post: #1
Alter another field's input state via selection?
Is it possible to alter another field's input state (no idea what to call it) depending on what's selected?

For example, assume I have a listbox and a textbox. The listbox is a required field, the textbox is not editable. The listbox has values A B and C. If C is selected, can we change the textbox to required?

I know it's possible to do it by overriding the listbox if the textbox is full, but that confuses the end user - if one is not editable then becomes editable (value C allows the user to input a custom version), it's easier to understand.

Sorry if I started rambling - if you're unsure WTF I'm on about, just tell me and I'll try to explain again.
12-23-2012 07:32 PM
Find all posts by this user Quote this message in a reply
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #2
RE: Alter another field's input state via selection?
Maybe this is what you need.

Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
12-24-2012 02:46 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #3
RE: Alter another field's input state via selection?
This sounds like it can only be done through Javascript (and the user needs that to be enabled).

My Blog
12-26-2012 05:08 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: