PDF form for e-signing (deactivate certain fields inside form)
- June 15, 2023
- 1 reply
- 1103 views
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