Skip to main content

How do I customize a text field input box?

I'd like to add rows and columns to a text-input custom field box. 

Trying to shoehorn in the rows and columns into the liquid code like this, 

{ % text_field rows="4" cols="50" "custom_values.data_quality_plan" % }

 gives me an error: "Liquid error: undefined method `split' for nil:NilClass"

I just want to enlarge ONE textbox on the page, not the rest. 

Little help? 

Official response from

The best way to affect the dimensions of text area is via CSS. You can add a custom class name to the text field using the following syntax:

{% text_area "custom_values.data_quality_plan", class:"classnamehere" %}

Share this post

Showing 5 reactions

How would you tag this suggestion?
Please check your e-mail for a link to activate your account.