Expand my Community achievements bar.

Limit character length in custom form text field

Avatar

Level 1
Hi fellow Workfronter's, We are using custom forms to put in additional info with regards to billing of projects etc. which are integrated to a billing system (Navision). The forms and the integration works fine, but we have text fields that have a limited length in the billing system. Is there any way to limit the number of characters in a text field on a custom form to e.g. 40 characters? We've tried to make calculated fields that tells the user that they are over the limit etc., but these fields are calculated on submit, which is too late. An alternative could be no to be able to submit the form in case the field is to long, but I haven't found a way to succeed with this neither. Kind regards, Lasse Rask Partner One Marketing A/S
2 Replies

Avatar

Level 10
Hi Lasse, Natively, there is no way to restrict the length of a text field to 40 characters, so (as you've discovered) the practical workaround is to search for exceptions and correct them after the form has been submitted. Regards, Doug Doug Den Hoed - AtAppStore Got Skills? Lend a hand! https://community.workfront.com/participate/unanswered-threads

Avatar

Level 1
Hi Doug, Thank you for the quick reply. Unfortunately that was what I expected, but I hoped someone had come up with a better workaround than me �� Med venlig hilsen / best regards. "http://www.onemarketing.dk/"> Lasse Rask Partner, Manager Solutions Borgergade 14, 3. DK-1300 København K m +45 20 83 81 85 || p +45 70 28 70 70 "http://www.onemarketing.dk/"> www.onemarketing.dk