Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Translate the entire conversation x

Validators and Filters

hsha1102
11-Garnet

Validators and Filters

Hello All,

 

Can anyone please explain me the difference between Validators and Filters?

I have worked on Filters but I have never used Validators until now.

 

For what purpose should we use validators and for what purpose should we use filters?

 

Thanks in advance.

 

Regards,

Hari R

ACCEPTED SOLUTION

Accepted Solutions
Florent
15-Moonstone
(To:hsha1102)

If the logic is specific to a single UI Component (action or attribute), add the logic to a Validator.
If the logic could apply to multiple UI Components, add the logic to a Filter.
 
 
 
 
Florent ROUSSEL
www.4cad.ca

View solution in original post

1 REPLY 1
Florent
15-Moonstone
(To:hsha1102)

If the logic is specific to a single UI Component (action or attribute), add the logic to a Validator.
If the logic could apply to multiple UI Components, add the logic to a Filter.
 
 
 
 
Florent ROUSSEL
www.4cad.ca
Announcements


Top Tags