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

Question

Question

Making fields read only after first submission

asked on April 27, 2023

Hello LF community,

 

Is it possible to make a field read-only after it is submitted? I know the general way is to create a copy of the form and make those fields read-only via the layout designer. However, I cannot use that method as I am sending the same form to external users and populating the read-only fields by URL parameters. 

 

The current javascript code I am using is:

$(document).ready(function () {
   $('.ro input').prop('readonly',true);
   $('.ro select').prop('readonly',true);
});

However, this doesn't seem to work for me.

 

Thank you,

Daniel

0 0

Replies

replied on April 27, 2023

What version of Forms are you on?  And are you using the Forms Layout Designer or the Forms Classic Designer?

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

Sign in to reply to this post.