Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

On forms, can I make a field required based the selection in another field?

Taylor Chappell
Contributor
May 18, 2023

We are trying to use forms for certain customers where I work. They select what they want, but they ignore fields like quantity. I can't just make those fields required, because that may make the customer feel hassled to enter 0's.

So the question is: Can I make a quantity field required when they select a certain object on the form?

1 answer

1 accepted

4 votes
Answer accepted
Mikael Sandberg
Community Champion
May 18, 2023

Yes, that is possible. Basically you make both fields required, but the second one is added to a section that is conditionally shown based on what the user selected in the first field. Something like this:

Screenshot 2023-05-18 at 11.45.30 AM.png

The second field will only be required if that section is shown on the form.

Taylor Chappell
Contributor
May 18, 2023

This is great! Thanks!

Like # people like this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events