click a button to enable a radio button

J

J.

I have a form and a section of the form should only be editable by a person
once they receive the form in an email. For example, the employee fills out
the top of the form and then clicks the submit button. When they click the
submit button it does two things (1) sends the form to the manager (2) makes
the disabled region of the bottom of the form editable so that when the
manager receives it he can open it and complete the bottom portion of the
form and then when the manager is finished they click a "return" button that
makes the bottom part of the form disabled again and emails the form back to
the employee. How do I do this on each of the buttons?
 
F

Frank Mueller \(MSFT\)

Instead of using your approach I would recommend using "roles". That means
you will definite different views
of the same form. Based on the user's credentials the correct view will be
displayed. Read here for more
details: http://office.microsoft.com/en-us/infopath/CH100598281033.aspx

If you would like to continue with your approach you will have to user code
on the buttons. By default buttons
will only perform action (send form data, perform a rule, or run code).
However, when using code you can execute
multiple actions using the InfoPath Object Model.

Your approach would be
- send form email via OM
- set a field value to indicate if section should be displayed or not

Your section would then need conditional formatting that will show or hide
it depending on the field's value you
set on button click.

Hope this helps.
Thanks,
Frank
 
Top