Is it possible to have Prawn fill in check boxes depending on the result of a boolean? For example, I'd like to have a 'Yes' and a 'No' checkbox for a series of questions to record responses. Upon receiving the information, I'd like appropriate checkbox filled in. Is this possible, and if so, how?
Thanks!
There is a gist here that discusses this. The basic idea though is you would need to use a font set that has support for checkboxes to get this to work.
If you want anything fancier than that, prawn does not support checkboxes out of the box, so you would need to create something for this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With