You are viewing limited content. For full access, please sign in.

Question

Question

Make each field read only after it is Submitted and sent to a Task Participant

asked on December 19, 2014

I am wondering how I would make each field "read only" after the field has been filled out and submitted. Once the form is sent to another Task Participant, it would be seen as read-only. Then the fields he fills out in the remaining form would become read-only after he submits the form and it is sent to Laserfiche. 

What would you recommend? Is this possible?

0 0

Answer

APPROVED ANSWER
replied on December 19, 2014

Yes, this is possible. You can do this with using multiple forms. Create a form (i.e. Form1) that's to be used by the initial submitter. Specify the fields in that form that the user is to fill out. Once complete, create a copy of that form (i.e. Form2). Then in Form2, you can set the initial fields to be read-only while adding additional fields that the task participant is to then fill out. In the business process modeler, the message start event will use Form1. Then in the user task for the task participant, set it to use Form2. You can follow this idea to build out the complete process.

0 0

Replies

replied on December 19, 2014

In the user task for the second task participant, simply check the box that says "Mark form read-only for task participants".

replied on December 19, 2014

You can add the following custom JavaScript to the form and then those fields you want to be read-only, simply give the class 'read-only' to them.

//make fields with read-only class read-only
  $('.read-only input').attr('readonly',true);
  $('.read-only select').attr('disabled',true);

 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.