pfc_Validation event coding example

Posted by Brani on Stack Overflow See other posts from Stack Overflow or by Brani
Published on 2010-06-08T08:04:41Z Indexed on 2010/06/08 8:12 UTC
Read the original article Hit count: 229

Filed under:
|
|

Could you give me an example of the way I should code into the pfc_Validation event? This is an event that I have never used. For example here is something I have coded in the ue_itemchanged event.

if dwo.name = 'theme' then  
   This.Setitem(row,"theme",wf_clean_up_text(data))
end if

if dwo.name = 'Comments' then  
   This.Setitem(row,"Comments",wf_clean_up_text(data))
end if

Which is the proper way of coding those validations in the pfc_Validation event , so that they are performed only on save-time?

© Stack Overflow or respective owner

Related posts about validation

Related posts about events