Popup on workflow form submit if mandatory fields are empty

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
yash_patel_c2
Established Member

Popup on workflow form submit if mandatory fields are empty

Hi everyone,

I have two properties in workflow forms which are mandatory. Now if I submit the workflow form by keeping these fileds empty I am having below error popup.

I want my custom popup message here on this box like "Name and First Name are mandatory fields."

How can I do this ?

Thanks & Regards,

Yash

2 Replies
vidhipanchal
Established Member

Re: Popup on workflow form submit if mandatory fields are empty

Hi Yash,

The easier way to validate mandatory fields are using the following in share-config-custom.xml

<field id="<yourProperty>"  mandatory="true">
</field>

 

Thanks,

Vidhi

Contcentric

yash_patel_c2
Established Member

Re: Popup on workflow form submit if mandatory fields are empty

Vidhi,

I also tried with this approach, but the popup message is the same. I want custom message to be appeared on the popup.

Thanks,

Yash