Add Field Validation to lookup column "Name"

Hi All,

I need to put validation to restrict the lookup column "Name" to a certain number of characters(not 50,250,500). Can anyone suggest how can i achieve that?

Like 1

Like

3 comments
Best reply

Hello rajat,

 

You can add an event on the object itself through the configuration:

https://prnt.sc/LIjTKY0mxzdz

 

Get the value of the Name field and make sure that it isn't longer than x characters.

 

 

Kind regards,

Yosef

Hello rajat,

 

You can add an event on the object itself through the configuration:

https://prnt.sc/LIjTKY0mxzdz

 

Get the value of the Name field and make sure that it isn't longer than x characters.

 

 

Kind regards,

Yosef

Hi yosef,

I am not able to add anything in that business process. Can you guide me how  to achieve the above objective

 

rajat patidar,

 

Make sure the object exists in your package (custom package is the default one) and then use an event subprocess.
Here's an example on how to work with server side code:

https://academy.creatio.com/docs/developer/interface_elements/record_page/field/add_auto_numbering_to_the_field#title-1349-12

 

You can then follow this logic:

https://academy.creatio.com/docs/developer/interface_elements/record_page/field/add_the_field_validation

 

 

Kind regards,

Yosef

Show all comments