Problem in using a checkbox to set a field value in a browser form - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Problem in using a checkbox to set a field value in a browser form

Last post 07-12-2012 07:40 AM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-12-2012 12:46 AM

    Problem in using a checkbox to set a field value in a browser form

    I have an InfoPath 2010 browser form that is submitted to a SharePoint 2010 document library.  At the end of the form I have two checkboxes that represent 'Accepted' and 'Rejected'.  I also have a hidden text field called 'FinalStatus' that is supposed to read 'Approved' or 'Rejected' based on whichever checkbox is ticked.  For each checkbox I have a rule with two actions:  If 'Accepted' is ticked, it must blank 'Rejected'.  The second action is to set the field of FinalStatus to Approved.  The other checkbox has a similar rule with two actions for when it is rejected.

    This works fine if I preview the form in InfoPath designer, but when it is uploaded to the SharePoint library, it is not setting the field's value.  It does however clear the opposing checkbox.  I do not have the 'Do not run remaining rules...' box ticked.  The FinalStatus field is a published field that is supposed to populate a column in the SharePoint library, but since the browser form keeps it as blank, that field remains empty (but my other published fields work fine).

    Any ideas on what is causing this issue and how I can fix it?  Help would be much appreciated!

  • 07-12-2012 07:40 AM In reply to

    Re: Problem in using a checkbox to set a field value in a browser form

    Usually the first thing I check for "works in preview not in browser" is postback. Right click the checkbox controls and under the Properties, select the Browser tab. Try setting postback to always and see if this makes a difference.

    Hilary Stoupa

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.