Submit to a SharePoint forms library

H

Hasse

Hi,

I'm trying to figure out how to do a submit to a SharePoint forms library
with VB Script.
I have a submit button in my form and custom code.
If I could make the code execute before the rules it wouldn't be a problem
but I can not figure out how to do that so I guess I have to do the submit in
my custom code.
Can anyone give me a hint on how to do this?

Regards,
Hans
 
A

Adam Harding

Hasse

To make the code run before the rules make the last statement in the custom
code to say set THIS FIELD value to ON then speicify ALL of your rules to be
conditional on THIS FIELD equalling ON, that way ALL of your rules run after
the code.

Cheers Adam
 
H

Hasse

Thanks Adam for your tip.
The Rule is testing if THISFIELD is ON and if it is not it executes my code
but how is the Rule beeing tested again?

Regards,
Hasse
 
A

Adam Harding

Hasse

It is tested by the conditions on which the rules depend so you may say

If TEST is not blank AND THISFIELD is equal to ON then do THIS.

That is how. Does this make sense?
 
H

Hasse

Good morning Adam,

I'm sorry but I don't understand.
I thought I did after your first answer but now I'm lost again.

Regards,
Hasse
 

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