Issue with g_form.elements.length in UI Action

pramodkumar
Tera Expert

Hi All,

I am using g_form.elements.length in workspace client script UI action. I am trying to bypass all mandatory fields and save data. It is working in regular form view, but not in workspace. Can we bypass all required fields in workspace and save form?

 

 

Thanks!

1 REPLY 1

AnirudhKumar
Mega Sage

I'm sorry but I don't understand the purpose of that requirement. If the fields are mandatory, why do you want to override it only on workspace? If you want to allow the users to submit the form, then you might as well set the fields to mandatory false on all views.