Expand my Community achievements bar.

The next phase for Workfront Community ideas is coming soon. Learn all about it in our blog!

Parentheses allowed in Custom Form Field Labels

Avatar

Level 6
Are parentheses not allowed in Custom Form Field Labels? A user asked me to create a field on a Custom Form with a label that included open/close parentheses. When I type those characters as part of the name (label) for the field, Workfront doesn't recognize that I'd inputted anything; it simply doesn't respond. Is this by design or am I experiencing an issue somehow? If open/close parentheses are disallowed characters, is there a reason why, and are there any other characters I can't use as part of a field label? Thanks in advance. :) M.L. de la Rosa Genentech
11 Replies

Avatar

Level 6
Simple answer, no. Parentheses are not allowed as a custom for label or parameter label. Marty Gawry - CapabilitySource

Avatar

Level 6
Sorry - missed the second half of the question. I think it has something to do with the database and API calls, but not positive. Parentheses cause problems when not properly trapped and are often not allowed as a database field name. As far as I can tell, these are the only characters not allowed, but there are likely some non-printable characters that fall into this category as well. Marty Gawry - CapabilitySource

Avatar

Level 10
in general I would advise to steer clear of as many non-letter/non-number characters as possible. Not that they won't display (they will) but more that if you start getting into calculated fields, they will make your life miserable. For example, I think to this day, we still haven't figured out how to perform any calculated field equation (even a concat) on a field if the name of the field has an apostrophe in it. (e.g. have you ever been able to make a calculated field referencing a field like "URL's"?) -skye

Avatar

Level 6
Hi, I recommend that you upvote this idea to "Have separate Field API names vs label names". Right now the field name in the backend has to be the same as the label, which limits your options if you want to use sentences, special characters, or the same field name across different forms. https://support.workfront.com/hc/en-us/community/posts/115006012627-Have-separate-Field-API-Names-vs... Vincent Goodwin The Capital Group Companies

Avatar

Level 6
Skye, To answer your question, you can put { } around the field name to capture the special character. For example: IF({URL's}="X","X","Y") Vincent Goodwin The Capital Group Companies

Avatar

Level 10
thanks Vincent, I think we tried that and it didn't work (we normally default to curly braces around all custom fields and let Workfront automatically delete whatever it doesn't want). But I'll certainly tinker with it again and see. (Edit: it's working now :), not sure why it didn't work before) -skye

Avatar

Level 7
Hey everyone, We recommend avoiding use of special characters, you can read more on step 9 here: https://support.workfront.com/hc/en-us/articles/216668788-Creating-Custom-Forms Thanks! Dustin Martin Assigned Support Engineer Workfront

Avatar

Level 6
I have no idea. :) I was about to recommend my go-to of using slash marks before the special character (ex. URL/'s) but for some reason, in my tests that wasn't working today. Vincent Goodwin The Capital Group Companies

Avatar

Level 6
Thanks Dustin. Is there any appetite for making the field ID and its label separate? This would allow greater flexibility in naming fields: Special characters Use plain language sentences to introduce selections (Ex. "How would you rate our service today?") Multiple fields with the same value (if two forms wants to have a field called "Type" with different value selections, we currently can't do that. We have to get creative, which can make our intake forms flow weird.) Also, as Fusion rolls out, changing a field name can have impacts to the Fusion call. There's an Idea on Idea Exchange with great ideas too that I highly recommend. https://support.workfront.com/hc/en-us/community/posts/115006012627-Have-separate-Field-API-Names-vs... Vincent Goodwin The Capital Group Companies

Avatar

Level 6
Thanks, all, for your replies. We have some real use cases where it adds value for our users to have parenthetical information appear in parentheses. I will submit this in Idea Exchange as suggested above or second the idea if already submitted by someone else. Appreciate your help. Best, M.L. de la Rosa Genentech

Avatar

Level 7
Hey Vincent, I've heard we're looking to revamp custom forms/fields, but have no ETA, so I'd really recommend promoting the ideas on the idea exchange! Dustin Martin Assigned Support Engineer Workfront