Data Validation Asterisk - InfoPath Dev

InfoPath Dev

Use our Google Custom Search for best site search results.

Data Validation Asterisk

Last post 10-21-2005 12:03 PM by Matt Faus. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 10-21-2005 07:48 AM

    Data Validation Asterisk

    I have a field which I have added some data validation to, however, when I preview the form the red asterisk appears in the text field. The field is not required but if the user fills it in I am trying to control the data that is submitted to the DB. Is there a way to use the validation without getting the red asterisk?

  • 10-21-2005 11:17 AM In reply to

    Re: Data Validation Asterisk

    I don't know of any way to remove it.
  • 10-21-2005 12:03 PM In reply to

    Re: Data Validation Asterisk

    Yeah, and if there was a way to do it, Greg would know - he's a l33t haxzor. HaHa.

    Anyway - try using code - when your user presses "submit" have code run through all the fields that need to be formatted a specific way, and if one is not formatted correctly, abort submission, pop-up message that tells user to go back to the field and change the format. This is not InfoPath Data Validation persay, but it accomplishes the same thing.

    Specifically, check out the onSubmitRequest() event. Put your code in there, and if something isn't how you want it, just abort the submission.

    Matt Faus
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.