Correct way to programatically check off Radio Button

Correct way to programatically check off Radio Button

Forum member · Mar 28, 2008
I have a radio button for gender on aPDF built in LiveCycle. Is this the proper way to dynamically check it off in C#? doc.Form.Fields["form1[0].LSAppClient[0].Gender1[0]"].Value = "1"; Thanks. Dave

Re: Correct way to programatically check off Radio Button

Support · Mar 28, 2008
Hello Dave, Yes, the code you are using is the right way to check the radio button. Only thing to make sure here is that the export value of the radio button is 1. Basically to check the radio button, set its value equal to its export value. Thanks, ceTe Software Support Team