Infopath Button Programming

T

triciabsullivan

I know how to program a button to email a form to a predetermined
address. Is there a way to program a button so it will send some of
the data to one person and the rest of the data to another person.
Example: Separation Form. Several departments need to know that an
employee has left but only HR needs to know WHY. Can the form that
IT, Facilities and the Mailroom receive just show the basic info but
the form HR receives would show the confidential info? The
confidential info would be made up of option buttons and a comments
section. If this isn't possible can two buttons be used in one form
with the same concept. The first button would send certain sections
of the form and the other would send different sections.
 
R

RonL

Is it possible to send the email to departments a,b and c, change the
fields/sections to not display, and then send to HR ? all done in the on
button click code. (set an original option to False(by default) , send
email, set to option to True) so that when option is True then the sections
are hidden.
 
C

Clay Fox

What Ron describes is one method but if you have confidential information you
are exposing it potentially. A user could view the attached XML as text and
see the contents even though within InfoPath they do not see the view.

I would suggest a backend database to secure the information. Then the form
can display what each user has access to or each function can have their own
form but the common information can be shared between the forms.
 

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