add a validation to submit botton

E

Eric

I am new for Infopath, can anyone show me a quick way to validation a field
within infopath form while click on submit botton?

I know you can add individual validation to each field, but I want to add
those rules into submit botton

thank you
 
G

Gavin McKay

Hello,

InfoPath automatically stops you submitting unless all fields are valid. It
will give you a nasty message box to tell you off as well :) The real trick
is getting it to submit with invalid data... which can be done, but isn't
pleasant.

So basically, add validation to your fields, and InfoPath will automatically
not allow the user to submit unless all fields are valid.

HTH

Gavin.
 
C

Clay Fox

Hey Eric.

I think what you are referring to is performing your own checks and adding
multiple rules to the submit button.
By default the submit options are to perform one data connection to submit.
What you need to do is change the drop down to rules based. Add your rules
and then at the end add a rule to submit to the data connection you need or
multiple submits.
So tools
Submit Options
Rules based
Add Rules
Set your button to submit
 
E

Eric

thank you both of you, I am much clear now

Clay Fox said:
Hey Eric.

I think what you are referring to is performing your own checks and adding
multiple rules to the submit button.
By default the submit options are to perform one data connection to submit.
What you need to do is change the drop down to rules based. Add your rules
and then at the end add a rule to submit to the data connection you need or
multiple submits.
So tools
Submit Options
Rules based
Add Rules
Set your button to submit
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top