Hello Experts,
I am new to Infopath and got into design of a complex form (complex for me but may be simple for all experts here :) ).
1) I need to design a form which will submit data to a webservice. But for providing user with lookup values I need to call 4 other supporting webservices in same form.
I have tried to develope a Webservice based template (Submit & Receive option) and then tried to add supporting web services as a additional (secondary) data source. But while trying to do so, the options I get is either to add a WS to Receive data or WS to Send Data. But in my case, webservices need a request data (selection criterea which is input from other text fields on form filled up by user at runtime) to fetch the matching set of records from backend.
Please suggest me , how can we overcome this limitation? Any suggestions, work around will be of great help to me....
2) I have a repeating table which will be connected to a secondary data source (webservice again) . I have requirement where user should be able to select multiple records from this repeating table and then the value of first field in these selected records should be added to a list/textbox/...inside a repeating section on another view . I have two problems in achieving this:
a) I tried to insert a button as one of the field in repeating table and tried to update the textbox on other view by using a rule "Set a fields Value" for this button. But the problem with this is :
If the user has added 3 repeating section on form, then clicks on a button to switch to a view (where we have repeating table) from a second repeating section, after selecting the values the Rule updates the value of textboxes of all repeating section instead of updating just the textbox in current instance of repeating section from which the view was called.
b) if i try to insert check box for multiple selection from this repeating table, how can I loop on this table to find the values selected by user?
Plz Plz plz help me....
Thanks in Advance!
Regards,
Abhi.