Check for Empty Mandatory Fields in Portal

ctsmith
Mega Sage

I have a form page on the portal with a custom form Widget and a custom approval Widget on the page.  Before someone is allowed to approve the form, I'd like to have the approval widget check the form widget for any empty mandatory fields and prevent approval if the mandatory fields are not filled in and saved first.  Possible?

2 REPLIES 2

Sai122
Giga Guru

Hi, 

Please check this link it may be helpful 

https://community.servicenow.com/community?id=community_question&sys_id=3073ddf3dbd96304d6a102d5ca9619d6

 

Thanks

sai

 

Thanks!  I saw that posting earlier.  I didn't think UI Macros are supported in the portal.  And I'm trying to not hardcode a check with g_form on specific fields but a dynamic check against any blank mandatory fields.