The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Mike - Dreamsuite Consulting
Community Champion
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. 

TAGS
AUG Leaders

Atlassian Community Events