"Create New" form behavior

Nataliia_Lova
Tera Guru

Hello, Community.
I am working on developing a scoped application and am faced with an obstacle where I am unsure if the user can create a request.
My question is about state field behavior and where I can manage it.

When the "Create New" form opens, there are "-6" values in the state by default.
It needs to be "New".

Screenshot 2024-01-09 at 18.38.01.png

Screenshot 2024-01-09 at 18.38.37.png

Screenshot 2024-01-09 at 18.37.28.png

 

1 ACCEPTED SOLUTION

Sandeep Rajput
Tera Patron
Tera Patron

@Nataliia_Lova It seems that your custom table extends task table check if there is any onLoad client script defined on the task table which is setting the state here.

 

You can also check the dictionary override on the task table and see if the default value is set via the dictionary override.

View solution in original post

8 REPLIES 8

Yes, it is.

Screenshot 2024-01-09 at 19.42.26.png

Nataliia_Lova
Tera Guru
I've managed this "-6" but now when the "Create New" form is loaded, there is a "Cancelled" state and not "New".Screenshot 2024-01-09 at 20.07.18.png

Sandeep Rajput
Tera Patron
Tera Patron

@Nataliia_Lova It seems that your custom table extends task table check if there is any onLoad client script defined on the task table which is setting the state here.

 

You can also check the dictionary override on the task table and see if the default value is set via the dictionary override.

Yes, my table was extended from Task. And the obstacle was exactly in override.
 
Thank you 🙌