Sharing a conditional statement
-
In my custom template I needed to have a hyphen (-) as a separator between the degree/certification and the granting institution. On rhw doem rhwew EW 5 degree/granting institutions, and if the degree field is blank I didn’t want a hyphen appearing with no information in the PDF.
{Degree/Certification:7}<?php $separator = $form_data['field'][7]; // only print out hyphen if the certification field is completed if ($separator != "") { echo " - "; } ?> {Educational Institution/Professional Organization:8}
The above is repeated for each of the additional degrees, but with the Degree/Certification field number changed.
I hope this helps someone.
https://www.ads-software.com/plugins/gravity-forms-pdf-extended/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Sharing a conditional statement’ is closed to new replies.