This topic is locked

Text Field Length

5/5/2009 4:18:51 PM
PHPRunner General questions
S
sikat author

Hi All,
Trying to create an easy edit screen. My problem lies with the Length of the imput text field in the edit screen.

In the visual editor i edit the field as a texf field - which is fine. But i would like the length of the imput field to show the entire string. 50 characters. Right now it shows about 20. I think it is in the commonfunctions.php but i cant figure which imput i should change. Also what is the function of the SIZE option in the text field property screen. the manual doesnt say anything. i tried changing it but nothing seemed to happen.
All help is appreciated! <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=11758&image=1&table=forumtopics' class='bbc_emoticon' alt=':)' />

S
sikat author 5/5/2009

Solution found. I build again from scratch and everything worked. It is related to the SIZE option. Sorry for the post.

A
ashipley 5/5/2009

[quote name='sikat' date='May 5 2009, 08:33 PM' post='40834']

Solution found. I build again from scratch and everything worked. It is related to the SIZE option. Sorry for the post.
----------------------------------

Well the SIZE functions works well to make a field longer than it's default, but here is a twist for you. When I built my tables, I used meaningul field names. Later, when I built my forms, using a table to aligh things, I had a problem, because in the visual editor, the field shows up as long as the field name, NOT what it will look like in use. It takes a lot of experimenting and trial and error to get things to fit and align properly as you have to rebuild and upload after every change. It looks a lot different on the server than in the editor.