[IMG2=JSON]{"data-align":"none","data-size":"full","src":"http:\/\/forums.foxitsoftware.com\/core\/image\/gif;base64,R0lGODlhAQABAPABAP\/\/\/wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw=="}[/IMG2]Here is my issue. I have found that I can select which field to set as readonly when a document is signed. But what i need is also a validation if the field is not empty. Right now the only thing i managed to do is use the Validation of a field and when it loses focus if the field is not empty it will lock it but this is preventing if i made any mistake i have to redo the form completely.
So how can i browse all the field in 1 colummn and check if they are blank and if so set to read only.
This is what i have for when I lose focus on the field it is locking if not blank:
event.rc=true;
if(event.value !="")
{
event.target.readonly=true;
}
and the document loock like this :
[ATTACH=JSON]{"data-align":"none","data-size":"full","title":"unnamed.png","data-attachmentid":188981}[/ATTACH][IMG2=JSON]{"data-align":"none","data-size":"full","src":"http:\/\/forums.foxitsoftware.com\/core\/image\/gif;base64,R0lGODlhAQABAPABAP\/\/\/wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw=="}[/IMG2]
And i need to validate the D# column.
So how can i browse all the field in 1 colummn and check if they are blank and if so set to read only.
This is what i have for when I lose focus on the field it is locking if not blank:
event.rc=true;
if(event.value !="")
{
event.target.readonly=true;
}
and the document loock like this :
[ATTACH=JSON]{"data-align":"none","data-size":"full","title":"unnamed.png","data-attachmentid":188981}[/ATTACH][IMG2=JSON]{"data-align":"none","data-size":"full","src":"http:\/\/forums.foxitsoftware.com\/core\/image\/gif;base64,R0lGODlhAQABAPABAP\/\/\/wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw=="}[/IMG2]
And i need to validate the D# column.
Comment