Hello,
I have a datacard that has a combo box and a check box. The combo box is pulling from a list on SharePoint called 'Full Item'.
If the check box is selected I want it to automatically set the combo box to the value of "OTHER." (this is an existing value in the SharePoint list). When "OTHER" is selected, a text box pops up for the user to enter custom info before submitting/updating the form.
Now, where this gets complicated is the datacard is within a form called "formNewOrders." When this form is filled out and submitted, it is thrown into a collection called "galShopCart" and takes the user to a page to view what's in the collection so far. This way the user can review the items they've added before submitting the final order.
We have an edit button in they "galShopCart" gallery that pulls the form up and populates the data previously entered into the form from the collection to allow the user to edit an item.
This means the default value of the combo box on this page is set to "GalShopCart.Selected.'Full Item' - so we're having trouble figuring out how to also get this check box worked into where if it's checked, the value of the combo box is swapped to "OTHER."
I know we could just remove the combo box altogether and make the end user choose the drop down to select "other," but it was requested to be done this way so when the check box is selected the combo box is disabled and "greyed out" so it's obvious to the user they've selected the "Other" option and need to fill out the custom info in the text box.