Good morning,
When including the parties of an agreement, i would like to have our agreements capable of showing multiple options, but only some of them are compulsory.
For instance, a party can go from:
{First name A} {Surname A}, of full age, holding {Document type A} {Document number A}.
to
{First name A} {Surname A}, of full age, {Marital status A}, {Profession A}, of {Nationality A} nationality, with address for these purposes in {Address A} and holding {Document type A} {Document number A}. E-mail address {Email A}.
The problem is that there are not only void fields, but also commas to separate them and text to introduce
What would be the optimal way of programming this with the minimum number of fields?
i’d like to make the questionnaires complete, so if someone wants to fill in the fields, they appear, but if they don’t, to have a “clean text”.
I have tried conditionals, but in the end it ends “if {A} is empty, and {B} is empty, and {C} is empty, and {D} is empty, then…”
This way the conditional field ends ub with 16 or more options, with specific texts just to eliminate the “commas”…
Thanks!