How to validate the data once user inputs in custom field(s) of Trello .

Choudam.Raghu.Rambabu May 22, 2023

 How to validate the data (validation like specific format check, limiting the length of the text   in field, Mandatory field check, etc.) once user inputs in Trello custom field (s).

1 answer

1 accepted

0 votes
Answer accepted
Dreamsuite Mike
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 22, 2023

Hi, 

A little known feature in Trello automation is Regex support. You can use this to lookup text in almost every part of Trello from board names, list names, card names, descriptions, comments, labels and custom fields.

You can use this to help with this problem.

My example below basically, if the length of the string in the custom field is longer than 10 characters, it trims it to the first 10

when custom field "Character limit" is set to "regex:/(^.{0,10})(.*)/", set custom field "Character limit" to "{wildcard1}"

Choudam.Raghu.Rambabu May 24, 2023

Thanks Mike. It helps to implement our required field validation(s) for the custom fields. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events