Change variables text alignment

RonAlmog
Tera Contributor

Hello, I'm having a hard time trying to set text align for single/multi line text variables located in a catalog item.

I just want the content inside the text field to be aligned from right to left, not the entire field.

 

Would appreciate any help 🙂

Ron

 

6 REPLIES 6

PrashantLearnIT
Tera Sage

Hi @RonAlmog 

 

Thats not possible as far as I know.

 

Rajesh Chopade1
Mega Sage

Hi @RonAlmog 

Could you try following code in your style

g_form.getControl('your_variable_name').style.textAlign = "right";

 

Thank you

This throws an error

what error, could you share the snap here