Announcement

Collapse
No announcement yet.

How to validate if a field is empty when document is E-Signed

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • How to validate if a field is empty when document is E-Signed

    [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.
    Attached Files
    Last edited by jplegris; 06-13-2022, 03:01 PM.

  • #2
    Sorry forgot to add the image

    [ATTACH=JSON]{"data-align":"none","data-size":"large","data-attachmentid":188980}[/ATTACH]
    Attached Files

    Comment


    • #3
      [USER="566912"]jplegris[/USER] May I have a demo file? And how do you sign the document, for example, using Foxit eSign tab?

      Comment

      Working...
      X
      😀
      🥰
      🤢
      😎
      😡
      👍
      👎