I am new to skuid. in my model fields, i have requirement like for "Phone number " field only supports digits and length should be 10. another requirement like for “Name” field only supports characters and digits(numbers) are not allowing.can any one tell,how to approach for this requirement.
Hi, Raj,
While Skuid handles some page-level validation (e.g. making a field required at the page level), Skuid doensn’t have an out-of-the-box feature that handles logic that advanced right now. I would suggest one of two options:
- Use standard Salesforce validation rule.
- Write a custom field renderer with JavaScript that handles the validation. (Here’s a bit of info on custom field renderers)
for specific field, where i have to write my custom logic. example: for first name supports only characters not numerics and special characters. for this in field-level, where i have go to write my custom logic means step by step and validation script code
Raj,
As emily said above, there is nowhere in skuid that you can write a validation rule to apply to a field every time you use the field. You can write a javascript snippet and us it as a custom field renderer, but you will have to manually apply the custom renderer every time you use the field.
Here’s the documentation on field renderers: http://help.skuidify.com/m/11720/l/214147-skuid-ui-field-renderers
And the community has lots of examples.
can u pls provide the community likns
Search the community for “custom renderer”. Look to the right under Related Conversations.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.