Hello,
I am using InfoPath 2007 and I have a repeating table which has the following columns.
1. Question Number (Textbox, whole number type)
2. Question Name (Textbox, string type)
3. Answer (Radio Button, whole integer type). This has Yes, No and N/A as
4. Score (Textbox, integer type)
5. Comment (Textbox, string type)
I have a XML file as a secondary data connection which populates the Question Name, Score and Comment fields dynamically in the InfoPath form based on the User's answer. Basically, this form was designed for a survey and it has tens of questions and these questions are related to one another, meaning when a user selects an answer for one question, the related question's score and comment should change dynamically. For example, when a user selects a "Yes" answer for question number 1, the third question should have a Score of "0" and Comment as "N/A" and the user shouln't be allowed to pick an answer for question number 3.
I was trying real hard to accomplish this by modifying the XML I have. But I wasn't sure about how to modify my XML and how to configure the InfoPath UI fields so that I would get what I was looking for. Any help would be greatly appreciated.