Skip to main content
Solved

mandatory fields are also mandatory via API?

  • November 3, 2022
  • 2 replies
  • 291 views

msconfig87
Skilled Expert
Forum|alt.badge.img+10

Hello

We have modified our default ticket form with some additional mandatory fields.
We then have added business rules so that these fields are hidden in certain situations.
This works as expected and tickets can be created without those fiels.

Now when I want to create or modify a ticket via API those mandatory fields are always required! Even if they are empty in the ticket!

How can I create or update a ticket without having to provide random values into those mandatory custom fields?

 

Best answer by afautley

Not sure if this will work, but should… 

try unticking the “required when submitting the form” option on the field box. Then on your business rule to show the field, also make it mandatory. This way it should default to “non Mandatory” when completing form. 

 

 

View original
Did this topic help you find an answer to your question?

2 replies

afautley
Skilled Expert
Forum|alt.badge.img+11
  • Skilled Expert
  • 194 replies
  • Answer
  • November 3, 2022

Not sure if this will work, but should… 

try unticking the “required when submitting the form” option on the field box. Then on your business rule to show the field, also make it mandatory. This way it should default to “non Mandatory” when completing form. 

 

 


msconfig87
Skilled Expert
Forum|alt.badge.img+10
  • Author
  • Skilled Expert
  • 136 replies
  • November 3, 2022

thanks! implemented and works like a charm.

I see that with the business rules one need to think “out of the box”


Reply