Lock controls on submit

D

Drew

I need all of the controls to be locked when the form is submitted. How can
this be done?

Thanks,
Drew
 
C

Clay Fox

Hey Drew.

The easiest thing is to just make a read-only view.
Create a new view.
Copy all of the controls from the main view to it.
If you have 2007, open the view propoerties and set to read-only.
For 2003 switch your controls to expressions or make controls readonly
individually.
Then add a field which is called status.
When they submit set status to submitted and switch to the readonly view.
Put a rule on open that is status = submitte switch to readonly view.

That is it.
 
S

sboyd

Hey Drew.

The easiest thing is to just make a read-only view.
Create a new view.
Copy all of the controls from the main view to it.
If you have 2007, open the view propoerties and set to read-only.
For 2003 switch your controls to expressions or make controls readonly
individually.
Then add a field which is called status.
When they submit set status to submitted and switch to the readonly view.
Put a rule on open that is status = submitte switch to readonly view.

That is it.
--
Clay Fox / Microsoft InfoPath MVPwww.InfoPathDev.com/ The InfoPath Authority / Downloads, Samples, How-To,
Experts, Forum






- Show quoted text -


I want to do the same thing but when I try to copy and paste, nothing
will paste to the new view from the main view. I did Control A to
select everything, Control C to copy, switched to the new view window
and did Control V. Nothing.... what could I be doing wrong?

Thanks
Sandy
 

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