Hello..
I have a custom template edit form. The problem I have is that the edit form has a field that is required only when inserting a record. When editing a record it is optional.
I have a required field validator that I want to enable or disable depending if the form is shown in insert or edit mode.
To accomplish it, I need to know if there is an event I can implement where I can enable or disable the validator. I tried using EditCommand or ItemCommand (with "InitInsert" verification) but in both cases the edit form isn't accesible.
Any help will be greatly appreciated
Thanks
Jaime
I have a custom template edit form. The problem I have is that the edit form has a field that is required only when inserting a record. When editing a record it is optional.
I have a required field validator that I want to enable or disable depending if the form is shown in insert or edit mode.
To accomplish it, I need to know if there is an event I can implement where I can enable or disable the validator. I tried using EditCommand or ItemCommand (with "InitInsert" verification) but in both cases the edit form isn't accesible.
Any help will be greatly appreciated
Thanks
Jaime