Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to make a Form Field Mandatory using a Condition 1

Status
Not open for further replies.

SD8146

Technical User
Jul 8, 2005
14
Is it possible to make a form field mandatory based on a condition. I have an on-line form and want to make a field called Reason mandatory if the answer to the previous field "Connection Required? is Yes (or True).

I'm not much good with coding but can work my way through it if someone can point me in the right direction.

I would be most grateful if someone could offer guidance on this and some clue as to how and where to do it.

Many thanks.
 
This can easily be done using Javascript. Go to the Javascript forum and post the question.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top