Field with rules showing value immediately - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Field with rules showing value immediately

Last post 10-12-2012 09:33 AM by texaminn. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 10-12-2012 09:08 AM

    • texaminn
    • Not Ranked
      Male
    • Joined on 10-13-2011
    • Minneapolis, MN
    • Posts 12

    Field with rules showing value immediately

    I have the following repeating table:

    COST has a bunch of rules set up.  The COST is based on the ITEM selected.  The rules work fine.  Problem is, when I select the ITEM and type in the QTY, nothing appears in COST until I tab into COST, type something, then tab out.  It doesn't matter what I type, it is overwritten by the rule.  Like I said, the rules work fine.  They show the appropriate costs for the item, but I want COST to populate immediately when the ITEM is selected, not after I "trick" the form and have to type something in the block.  Is that possible?

  • 10-12-2012 09:22 AM In reply to

    Re: Field with rules showing value immediately

    Rules are usually triggered when a field changes.  It is then important to keep in mind when you want the rule to fire because this will dictate which field to place your rule on. From your description, sounds like you need to move your rule from the Cost field to the Item field because after the user selects the Item is when you want the rule to fire.  Alternatively, if the cost field is static you can simply place your formula (if there are no conditions) as a default value for the Cost field.  Hope this helps!
    Anson Hidajat
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™

  • 10-12-2012 09:33 AM In reply to

    • texaminn
    • Not Ranked
      Male
    • Joined on 10-13-2011
    • Minneapolis, MN
    • Posts 12

    Re: Field with rules showing value immediately

    That totally makes sense and works perfectly.  Thanks for the help.

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