Hi,
I have some html on a submit button, with a flow that converts to pdf. The only problem is, if no signature is entered, the signature field in the pdf shows up as an empty box with a red cross in the top corner. I was able to work around this with images by changing the sample image to a white picture i made in photoshop, however i cant find anything in Peninput. Is there maybe an if statement that could be used in the html or another work around. Any assistance would be much appreciated.
</tbody>
</table>
<p><img src="&JSON(CollectGallery.Selected.Signature1, JSONFormat.IgnoreBinaryData)&" type='image/png' style='width:90px'></p>
<table style='height: 25px; float: left;' width='580'>
<tbody>
<tr>
<td style='width: 580px;'><strong>Work Details:</strong>
</td>
</tr>
KR's,
Matt383
Thanks Sik, thats what i was looking for 😉
Hi @Matt383 ,
Yes, try to use if statement as follows, if the CollectGallery.Selected.Signature1 is blank, output a white picture .
<p><img src="&
If(IsBlank(CollectGallery.Selected.Signature1), 'https://www.immr.org/images/Backgrounds/bg_image_726x510.png' ,JSON(CollectGallery.Selected.Signature1, JSONFormat.IgnoreBinaryData))
&" type='image/png' style='width:90px'></p>
Hope this helps.
Sik