CalcBuilder Forum

Yes / No

Usuario Johnjuhl 2015-07-13 16:43:17

How do I get a yes/no field to show something else than Y or N in the pdf printed later?

I would like it to show for instance a box with an X or ✔︎ symbol.

Is that possible ?

kr,J-)

Moonsoft support 2015-07-14 10:12:20

Hi,
you can change at your calculator code the final value for your input. At the end of your code, assuming your input has variable name 'myfield':

if($myfield=="Y"){

$myfield="Here any value for YES";
}

else{
$myfield="Here any value for NO";
}


You can enter any text, some tags for html format, or even an image tag if you provide absolute url.


Hope this helps,regards