Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
2

PDF form for e-signing (deactivate certain fields inside form)

Community Beginner ,
Jun 15, 2023 Jun 15, 2023

Hi

 

I am sitting here working on understanding how to deactivate fields when other fields is empty (NULL).

 

I have attached a simple form I am testing on. My goal is to make a bigger form but for testing purposes this attached form is only a small one.

 

So imagine this form attached is finished and you make it ready for e-signing by adding fields and giving them ownership (prefill and signer)

 

So the fields to the left (big ones under the text "Tekstfelt") is the ones I want to be set to prefill-fields by the owner of the form. Let us call them textfield1 and the one below textfield2. The point here is that there will be up to 20 textfields like this. And I want the fields under Datofelt (datefield) and Knappefelt (checkbox) to be deactivated if the textfield infront of it is empty (NULL)

 

I have tried using the "condition" function under the fields themselfs but these fields seem to not wanna play ball.

 

Example: 

Condition is set to Deactivate this field (checkbox1) if one of these condition (textfield1) = NULL

 

But this does not work and I do not know why? Has it to do with textfield1 being owned by person prefilling and not the signer? Do I have to use javascript to solve this? If so do anyone know how that will work and maybe someone got a script for this already?

 

If you have any tips let me know.

 

Yours Sincerely Marius 

 

 

TOPICS
JavaScript , PDF forms , Security digital signatures and esignatures
908
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Community Beginner ,
Jun 15, 2023 Jun 15, 2023
LATEST

Solved it. I was thinking way too complicated.

 

Solution:

Activate this field when any of the following conditions textfield1 is not equal and left the textfield blank.

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 15, 2023 Jun 15, 2023

Update:

 

I managed to make it work in a way by making the condition of the textfield to be a text.

 

Example:

I put this in the field conditions of datefield1 and checkbox1 and datefield2 and checkbox2

 

Activate this field when any of the following conditions textfield1 contains the word "Test" and then I did the same for line textfield2's datefield and checkbox. 

 

I ran a test and for textfield1 I wrote in Test in the field (prefill) and nothing in textfield2. When I sent the doc to be signed textfield1 had Test in it and its buttons was activated and I could interact with them. But in textfield2 I wrote nothing on the prefill and that had the same condtion (have to contain Test) in it and the buttons was deactivated for that. So my conclusion here is that I need a better way to check if the condition of a field is empty and not look for a text. So anyone know what the empty (null) condition in the field condition feature is? Or is there a way to check if condition is contain any text?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 15, 2023 Jun 15, 2023
LATEST

Solved it. I was thinking way too complicated.

 

Solution:

Activate this field when any of the following conditions textfield1 is not equal and left the textfield blank.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines