Forums

How Do I resize an input field on front end

mercyfirst 27 Jan, 2017
I am viewing the front list of database items with their ID numbers and one of the fields has about 1000 characters. This field is editable. but only shows me one line and a few characters.

How can I add cols and rows to the input field to show all data?

See code I have below in the front List / Fields but it is not resizing to 10 rows or 50 cols

missionNominationDB.textarea5:<input type="text" rows="10" cols="50" name="missionNominationDB[{missionNominationDB.id}][textarea5]" value="{missionNominationDB.textarea5}" class="form-control A" size="" />
mercyfirst 27 Jan, 2017
also tried type-"textarea" rows="10" cols="50" and same outcome.

missionNominationDB.textarea5:<input type="textarea" rows="10" cols="50" name="missionNominationDB[{missionNominationDB.id}][textarea5]" value="{missionNominationDB.textarea5}" class="form-control A" size="" />
Max_admin 27 Jan, 2017
Answer
1 Likes
Please try this:

<textarea  rows="10" cols="50" name="missionNominationDB[{missionNominationDB.id}][textarea5]">{missionNominationDB.textarea5}</textarea>


Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
mercyfirst 27 Jan, 2017
Just left office but will do first thing in the morning, Ill check back as soon as I try, Thanks Max!
mercyfirst 27 Jan, 2017
Max it worked thanks for the quick response your the best!!
This topic is locked and no more replies can be posted.