Frappe Cloud Support Partners Foundation Frappe School

Validate fields upon transition of workflow

Hi is there any way on custom script to validate fields to be input before approve the workflow
to make a pop up message approval to ask user to input the rest of missing fields

You could make these fields mandatory. Approval usually means the form gets submitted. So keeping the fields mandatory will ensure they are filled before submission.

The transitions are still happening despite the mandatory fields. by the way I made fields mandatory using client script. Any solutions ll be appreciated

You may need to refresh field or Form to make it mandatory.

The field has become mandatory but the form can still go to the next workflow state even without filling the mandatory field

The solution, adding field conditions in the workflow transition will help.
Thank you for support.

1 Like