Microsoft Certified Partner Soul Solutions
Oct 26

Written by: Soul Solutions
Thursday, 26 October 2006

BronwenWeeGo.jpgWe came across a problem with InfoPath 2003 the other day.  We use a lot of expression boxes to display read-only data, and happened across the fact that we can select them, type in them, and then save the data .  All very scary when it's meant to be READ ONLY!

Only thing i've found on it is this article...which pretty much says delete them and re-add them.  Did a quick test and that seems to work.  If there's an easier way to fix this (as i have at least 10 expression boxes on about 100 forms) I'd be most grateful...

Tags:

1 comments so far...

Re: When readonly expression boxes become editable in Infopath 2003

Update: I did find a difference in the schema between the ones tha are editable and the newly added expression boxes...

It appears if you don't have the xd:disableEditing="yes" attribute in your view for the expression box it is editable.

Now to write a tool to run over the schema and re-add this if it's missing...

By Bronwen (Soul Solutions) on   Thursday, 26 October 2006

Your name:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment    Cancel