Submit button - Error on Validation - InfoPath Dev
in

InfoPath Dev

Now you can find InfoPathDev on YouTube and Twitter!

Submit button - Error on Validation

Last post 07-02-2009 07:14 PM by warrtalon. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 07-02-2009 04:59 PM

    Submit button - Error on Validation

    Hi All,

    I have a submit button on my form and when I click on it to submit the form, I am getting below error:

     The form cannot be submitted because it contains validation errors. Errors are marked with either a red asterisk (required fields) or a red, dashed border (invalid values).

    I verified many times and I am not able to find the error..Anyway, I want to submit the form, even though it has errors. Is there anyway to do that? I don't need any validation to submit the form.

    Please advise.

    Thanks

    Krishna

  • 07-02-2009 05:06 PM In reply to

    Re: Submit button - Error on Validation

    You won't be able to submit a form with errors -- that is kind of the point of Data Validation. However, you should be able to see what fields are causing the errors -- if they don't show on your view of the form, there should be a Details button on the error message that will tell you what fields have the problem. You will want to remove the data validation (or set fields to allow blanks -- that can cause these errors as well) accordingly.

    Hilary Stoupa
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 07-02-2009 05:12 PM In reply to

    Re: Submit button - Error on Validation

    All I am able to see regarding error details is:

    The form cannot be submitted because it contains validation errors. Errors are marked with either a red asterisk (required fields) or a red, dashed border (invalid values).

    I do not see any field names in details..Please help.

     

  • 07-02-2009 05:23 PM In reply to

    Re: Submit button - Error on Validation

    Is this a browser form?

    If it is on the client, I think usually that error message has a button on it that says Details. But, basically, if you have filled out a form and the controls that are being marked as invalid don't show in the view you are using, you are probably not going to be able to submit that filled out form. If you designed the form, you should open the form in design view and use the Logic Inspector to help you find the controls with data validation (if this is InfoPath 2007). If you did not design the form, you should contact the person who did....

    On the other hand, if you see controls that have a red asterisk in them or a red border around them, try changing the value or entering a value to see if that will get your data into a valid state.

    Hilary Stoupa
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 07-02-2009 07:14 PM In reply to

    Re: Submit button - Error on Validation

    If could be a data element that is a required field ("Cannot Be Blank") but that doesn't have an associated control on the canvas.  You really just need to open the template in design mode and look for it.  I'm very surprised that the error has no extra details pointing to the data element in question.

    If you attach the template (XSN), I can probably figure it out.

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