On save event

L

Lp12

SaHi All,
I'm new to JS and i want to send a email on save event according to the
behavior of controls in the form (checked or unchecked check-box etc) . I saw
the Tools>Form Options>Open and Save Tab> Save behavior which send me to a JS
editor. Does someone have any links to samples of JS in infopath environment?
Thanks a lot in advance
 
S

S.Y.M. Wong-A-Ton

If you're looking to send an email through code, search this newsgroup on
"email" and you'll find many code samples on how to do this by using either
the MailEnvelope object or the EmailAdapter object.

These links might also help:
http://msdn.microsoft.com/library/d...p2003_ta/html/odc_InfoPath_extending_save.asp

http://msdn.microsoft.com/library/d...s/ipsdk/html/xdobjMailEnvelope_HV01021244.asp

http://msdn.microsoft.com/library/en-us/ipsdk/html/xdobjEmailAdapterObject_HV01106499.asp?frame=true
 
L

Lp12

Thanks a lot......
I've search the newgroup but didnt find too many code samples for email and
in general. Might you have a good reference site that I can learn how to
develop in JS environment? I'm trying to study the infopath object model in
the meanwhile...
Thanks again.
 

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