IS it possible to output complete label?
-
Hello,
I am using CF7 and I tried several different things to get it to work as intended.
I am also using conditional fields.
I have a really long form with several conditions in there, right now if people select a condition it means 33% of the form will show up, 66% stays hidden.
However, in the PDF right now it’s like this:
Name: [your-name]
This means if someone would not fill in the field, in the PDF it will still say
Name:
I am trying to make it so if someone leaves a field empty, it does not just remove the [your-name] but also the text before it in the PDF that indicates what the question was.
I have tried:
– Not using a placeholder, instead use the <label> element and normal text inside the label.
– Using the <Label for= method
There seems to be no way to output the entire <label>…</label> into the PDF
This would be very handy since then if the field is left empty and it’s excluded from the output, it exludes the entire label including the part that says ‘Name:’.
And this way you are not left with a PDF that is filled with empty fields that were hidden under the conditional fields.
Does anyone have a suggestion on how to make this work?
Making all the fields mandatory is not an option, they are not able to fill out the fields hidden under the non-selected conditions.
- The topic ‘IS it possible to output complete label?’ is closed to new replies.