How to stop catalog client script(onChange) execution in Auto populate field.

nag123
Tera Contributor

Hi,

I have one catalog item with a data field. I populated the date field based on the requestedBy.

If the requester wants to change the date field from the current date to up to one year, an onchange client script is created to get the date from the current date to up to one year. 

The problem is that when selecting the requester, the date field is populating at the same time the client script is running, and the date field is empty.

Ex: The auto populated date is 2020-08-12 .

I want to execute the client script when the requester edits the date field

nag123_0-1712726206071.png

 

2 REPLIES 2

Sid_Takali
Kilo Patron
Kilo Patron

HI @nag123 Share screenshot of your client script 

Here it is 

nag123_0-1712727973807.png