Validate without an Alert Dialog - InfoPath Dev
in

InfoPath Dev

Validate without an Alert Dialog

Last post 08-23-2006 01:06 PM by danielNAthens. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 08-23-2006 11:22 AM

    Validate without an Alert Dialog

    Is it possible from JScript code to validate a field's value without telling the user that the field is in valid in an Alert dialog popup? In other words, I would like to encircle the field with a dotted red line like Infopath does when one of the data validation conditions are met instead of setting eventObj.returnStatus = false and eventObj.returnMessage = "XXXXXXX".

    Thank you for your assistance.


  • 08-23-2006 12:40 PM In reply to

    Re: Validate without an Alert Dialog

    If you do this just in the designer and not with code it should work like you want it to. Is there a specific reason you are doing it in code and not with the utilities provided in the IP designer?
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 08-23-2006 01:06 PM In reply to

    Re: Validate without an Alert Dialog

    Thanks for the reply. I have built a dynamic table with repeating sections and textboxes. Each repeating section is a "row" in the table. The First Column and Row of the data can be alphanumeric, but all cells inside the second row, second column must be numeric.

    I know I can validate this using Alert dialogs, but I'd like to do it with Screen Tips.

    As an aside, I could make the header row a separate group and validate the next group that holds the data (except for the first column), but I'd like to stick with the structure that I have.

    Again, thank you for your reply.
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.