Sorry it took me so long to reply but I managed to get the flu for a couple of day, thankfully not the swine variety.
I've tried the new version and I'm still getting some issues. The debug doesn't show them so I'm presuming its with the function that's being binded to the control.
On the update side of things I'll give you a quick overview of what I'm trying to achieve. I have 10 different divisions which complete and return a form. These are then sent to one of 6 different central areas. The form bounces between
the division and central area before it is signed off. It may then need to be either closed or renewed at a later stage. The form itself has mandartory fields depending on the stage and different sets of users will see different
What I've done so far is to;
- Create a master list which will be used for any central admin functions.
- Create a dummy list for each of the Divisions and Central areas.
- Create a filtered data source for each of the Division/Central Areas (this is to prevent Directory Traversal (i.e. adding a ID to the end of the URL to see others entries)).
- Add a DataView to the dummy pages (hiding the normal form view) and linking to the filtered data sources.
- Add Targeted Audience to the DVWP to prevent other area accessing the data.
- The All_Items views for each of the division have header button to redirect to alternative filtered view (i.e. At a particular stage etc).
- On load will show/hide, set up cascading and highlight (mark as mandatory) fields depending on the user group and status.
- The presave function check the mandatory fields before allowing the save action.
- The buttons on these forms also make changes to the data to allow the status to change (i.e. There is a "Submit to Central area" which changes the hidden status before trying to save the data).
- Behind all of this is a workflow which is a basic on change so that when the status of the form changes an email is sent to the division or central area which needs to take some action.
I did consider creating a only the 2 sets of forms with a link to another list which determines what people can see, but this would be a admin nightmare for a central admin function as they would have to keep this upto date.
I'm not sure if this is the best way of approaching all of this, but not being the most experience I'd appreciate any comment you might have. My major concern at the moment will be people switching off JS in the browser but as everything is audited
we'll be able to pick that up if it happens!
Thanks for your help.