What value goes for "Other" field type in PDF Form field types?
-
I am trying to generate a PDF using iTextSharp. It's a fillable PDF. I am able to track all the fields except for some check boxes. All of those checkboxes are Yes/No checkboxes. Now, the issue is, for some fields, the field type is coming as 'Other'. I am not sure what value should go in to these types.I am following the example in Filling PDF Forms I am getting the fieldtypes for some fields as follows:
Track - Other Gender - Other Spouse Gender - Other if Yes, please provide the following_2 - Other
The first part is the formField name, and the second part is the type. Since, it is Other type, these fields are not detectable. Please help. -
I am trying to generate a PDF using iTextSharp. It's a fillable PDF. I am able to track all the fields except for some check boxes. All of those checkboxes are Yes/No checkboxes. Now, the issue is, for some fields, the field type is coming as 'Other'. I am not sure what value should go in to these types.I am following the example in Filling PDF Forms I am getting the fieldtypes for some fields as follows:
Track - Other Gender - Other Spouse Gender - Other if Yes, please provide the following_2 - Other
The first part is the formField name, and the second part is the type. Since, it is Other type, these fields are not detectable. Please help.I'm just guessing but usually other means a textbox that you write in your answer. So you have a checkbox other, and when you click on it, a textbox appears or something. So its still a checkbox, only the text or id assignment is "chk_gender_other" or something.
-
I'm just guessing but usually other means a textbox that you write in your answer. So you have a checkbox other, and when you click on it, a textbox appears or something. So its still a checkbox, only the text or id assignment is "chk_gender_other" or something.
Correct. I have two Sections called Gender and Spouse and then each section is having two checkboxes , Male and Female. The problem is, I am getting the id for the checkbox as
formFieldMap["Gender"]= ?
formFieldMap["SpouseGender"] = ?How and what value should I pass to differentiate Male and Female Checkbox? I believe that I need to edit the PDF again to make the Id's unique.
-
Correct. I have two Sections called Gender and Spouse and then each section is having two checkboxes , Male and Female. The problem is, I am getting the id for the checkbox as
formFieldMap["Gender"]= ?
formFieldMap["SpouseGender"] = ?How and what value should I pass to differentiate Male and Female Checkbox? I believe that I need to edit the PDF again to make the Id's unique.
Ah yes the naming formula Took me about 10 years to get good at it. i would of named it cb_form_gender_male cb_form_gender_female cb_form_gender_other txt_form_gender_other cb is for checkbox form is the name of the section, document, or something. You should get the idea
-
Ah yes the naming formula Took me about 10 years to get good at it. i would of named it cb_form_gender_male cb_form_gender_female cb_form_gender_other txt_form_gender_other cb is for checkbox form is the name of the section, document, or something. You should get the idea