galkahana / HummusJS

Node.js module for high performance creation, modification and parsing of PDF files and streams
http://www.pdfhummus.com
Other
1.14k stars 169 forks source link

How to fill radio field form ? #429

Open tolotrasamuel opened 4 years ago

tolotrasamuel commented 4 years ago

I have been using the pdf-form-fill.js in the HummusJSSamples samples repo to fill a form. https://github.com/galkahana/HummusJSSamples/blob/master/filling-form-values/pdf-form-fill.js

I works fine with text fields but I have facing challenges filling a form with radio select input. (Where you tick only one from a multiple choice)

The fields names are same (there are two field names called deliveryType ) so when I run the script, it ticks everything. image