Solved

mandatory fields are also mandatory via API?

  • 3 November 2022
  • 2 replies
  • 47 views

Userlevel 3
Badge +6

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?

 

icon

Best answer by afautley 3 November 2022, 11:53

View original

2 replies

Userlevel 5
Badge +8

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. 

 

 

Userlevel 3
Badge +6

thanks! implemented and works like a charm.

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

Reply