regex works in Preview, fails (no error) in Production - InfoPath Dev
in

InfoPath Dev

regex works in Preview, fails (no error) in Production

Last post 01-07-2013 12:29 PM by jazaddict. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 01-02-2013 07:46 AM

    regex works in Preview, fails (no error) in Production

    I have condition

    disable this check box

    if Deptobjectives does not match .+\n.+   (which I think is one-or-more-chars/a newline/one-or-more-chars) AND  EDIT: this is really OR

    Arrobjectives does not match .+\n.+

     So the boxes are empty, disabled check box.  When both get 2 or more lines of data then enable the check box.

    Works like a champ in preview, stays disabled in production.

    This is a browser-only form in production.

     

    Lil help?

     

  • 01-07-2013 12:29 PM In reply to

    Re: regex works in Preview, fails (no error) in Production

     I finally made the check box read-only, and I put the conditions on a button that said "Approve"....when the click event fired, the conditions were scrutinized and I was able to branch accordingly.  The browser form would never do a static format thru that condition.   i know the Regex worked because the Preview worked and my button workaround worked. 

     

    C'est la vie

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