Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Removing the ability to edit a form once it has been submitted

Avatar

Level 5

Good Day All;

I am not sure if this has been asked before......

Is there a way to turn off the ability to edit a form once it has been completed and submitted?

Thanks all

Chomp

1 Accepted Solution

Avatar

Correct answer by
Level 5

Hi,

the easiest way I can think of would be to set all the fields to readonly.

Regards

Malcolm

View solution in original post

3 Replies

Avatar

Correct answer by
Level 5

Hi,

the easiest way I can think of would be to set all the fields to readonly.

Regards

Malcolm

Avatar

Level 5

Thanks Malcolm... That is what I thought... I guess there is no way to do it unless LiveCycle Designer is installed....

Chomp

Avatar

Level 5

HI,

You could do it via script, on what ever you are using to perform your submit.

// repeat for all fields in the form.

myfield.access = "readonly"

(but yes the script would need to be put into the form using designer)

Regards

Malcolm