I am trying to update a hidden field on a form when a form is submitted. I have a custom dropdown list and want to copy the selected value to the hidden field. I'm trying to work out where the best place is to do this:
I've tried overriding the ProcessSubmittedValue method in the class where I've defined my custom dropdown. However, this doesn't give direct access to the complete set of submitted values. I don't think I can manipulate the hidden field using the API (RecordStorage) here either as the record hasn't been saved to the database yet.
I then tried using the RecordStorage.RecordInserting event. I could update the value here, but it looks like the event is triggered after the workflows are processed which is too late. Is there another event which is fired before the workflows are triggered?
There is also the ConvertToRecord method override in my custom dropdown class. What is the difference between this and ProcessSubmittedValue?
Updating a field value when saving a form
Hi,
I am trying to update a hidden field on a form when a form is submitted. I have a custom dropdown list and want to copy the selected value to the hidden field. I'm trying to work out where the best place is to do this:
Any ideas appreciated.
is working on a reply...