Form Text Capitalisation

In the form text, how do I capitalize my values. I have tried adding "upper", "upper(value)" and various other combinations with no avail.

Thank you.

Hi there, welcome to the Text Blaze community :slight_smile:

Check out this post: Quicktip - Capitalizing text

Here's the example (below) from the post that I believe answers your question.

One thing to note is that the formulas use the form name of the text field. Please let me know if you have any questions!

{formtext: name=text; default=the QUICK BrowN fOx juMPed Over the LAZY doGs}

No change: {=text}
All uppercase: {=upper(text)}
All lowercase: {=lower(text)}
Title case: {=proper(text)}

Hey thanks! I tried to use the formatter in the advance setting of the original formtext but it does not work. Guess i will have to write to seperate ones for it and hide on in the notepad


Can you give some more detail for what you're trying to do?

If you are trying to capitalize all of the text you type into a form field, something like this will work:

{formtext: name=text; default=default text here}


You can repeat this in your snippet by giving each form a unique name. For example, you can do something like this with separate ones:

{formtext: name=text1; default=default text here} {formtext: name=text2; default=second default text}



Also, you can use the {note} command if there's anything you don't want inserted.

In essence I tried doing this

{formtext: name=text; formatter=upper(text)}

but it doesnt work

so now I am doing this

{note}{formtext: name=text}{endnote}


Ah, I see. Thanks for clarifying.

Try this: {formtext: name=text; formatter=(text) -> upper(text)}

Oh works perfect!

1 Like