Submit without validation

J

Jan Eliasen

Hi

I have an InfoPath formular, with a lots of controls on it, and at the
end are two buttons.

These buttons are for "Save" and "Submit". The "Save"-button should
save the formular to a web service without validating the content of
the formular. The "Submit"-button should submit the formular to a web
service AFTEr validation of the content.

Now, the submit-thingy is straight ahead, and it works.

The Save-thingy, however... I have used a rule on the "Save"-button,
and added an action to that rule. The action is to submit to a
webservice (a data connection, of course). But it seems validation
still occurs. Is there anything I can do? I would like to do it
without programming anything, since the formular is to be maintained
by a person who can not program. I definately do not want a .NET
codebehind, since this will definately be impossible for the
maintainer of the formular to learn.

Any thoughts?

Thanks in advance!

--
Eliasen Jr. representing himself and not the company he works for.

Private email: (e-mail address removed)

"Ford," he said, "you're turning into a penguin. Stop it."
 
A

Adam Harding

Jan

Simple clean easy to manage solution coming up!

Add a field to your datasource and call it something like savestatus or
something to help the future user. Set the default calue of the field to be
1. Change all your validation to specify 'And savestatus = 1' so each of the
validations is dependant not only on the content but the value of the
savestatus.

On the save function set it to use 'Rules and Custom Code' add a rule that
BEFORE it saves it sets the savestatus to 0, then it will work fine. MAKE
SURE that the submit status button sets the field back to 1 before
submitting, switching back on the VALIDATION.

Hope this helps.

Cheers Adam
 
J

Jan Eliasen

Simple clean easy to manage solution coming up!
Thanks

I will give it a try :)

--
Eliasen Jr. representing himself and not the company he works for.

Private email: (e-mail address removed)

"Ford," he said, "you're turning into a penguin. Stop it."
 

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