I have a group of two radio buttons in a form. I bind it with an xml schema but when I try to use the value of the radio button selected (1 for the first and 2 for the second) my variable logger print me null.
How can I bind radio buttons to know the selected one ?
I don't understand what you mean by writing the data out of the form neither how to do that but if it could help, in my form, I have several fields (drop down list, textfield and check box ) binding with my xml schema and I have no problems with them.
If you explain me what you mean I could try your solution. Thanks again 😄
Then that explains why you cannot write it out on the server. The binding between the radiobuttonlist and your element in your schema is incorrect. Are you binding to individual radiobuttons or to the RadioButtonList?
Once you ensure that the data is appearing in the xml then you will be able to use it on the server side.
OK, finally I have no values for all my fields in one form in the process.
I have a process with an Initform. The form is binding with an xml schema.
The user fill it and I map the fields with a setValue in a string variable and in the second form with the same schema. As so far no problems, it works.
Next the second form is approved or denied and I map the fields with a setValue and there is a problem. I tried to map into string variables, xml variables, boolean variables and I've got nothing. I don't understand. This is the same schema and it works nice the first time.
I have a mapping problem. In my process I have two forms with the same xml schema binding to this forms.
The first form is prefill with his informations (name, division, email etc ...), his superior informations and he can choose and fill a new superior.
Once the form is fill and send, the new superior received the form with the completed informations.
I use a setValue to extract the name of the superior and to associate it with an Assign Task and map the data of the first form into the second form and it works.
After the second form is approved, I need to exctract some other informations but whatever I can do, all the values are null. However when I extract data from the form with the function xfa.host.exportData(); the data xml is fill with the correct information.
In my first setValues I map the field login of my form with this xpath :