This topic is locked

How to change the Width of the Text Fields in a page usign PHPRunner

10/15/2006 9:09:14 PM
PHPRunner General questions
P
PHPLearner author

I am a new bie to PHP.
PHPRunner is the best tool I have seen so far to develop PHP pages using MySQL.
However I am stuck with editing the Pages - particularly for the field widths.. Where is the option to edit the Field Width..
Currently My Pages display very small length of the input field - even though I have given 250 as the field length.. it still shows small text field.
Is there a way I can set Input Text Field Width for a particular field separately. If not I am OK to have global change for Text Field to have more value say 100.
Please help.

Alexey 10/16/2006

Hi,
double-click your field in the Visual editor and change it's size there.

Or change the edit type to Text area in the same dialog.

P
PHPLearner author 10/17/2006

I wish it was that easy..In fact that is the first thing I tried..using visual editor
changing Text Area is not an Option - it is showing a pretty big size for a field like URL entry.
The default size of Text field is too small for URL entry.. Not enough with default of 20 chars.. Not sure how to increse the default from 20 to some think like 150.
I even went to HTML editor (another tab in Visual editor) and tried manually changing the Size of TD - Visual editor it changed - but when published text input field size went back to same.
I am doubting - some other place I need to change - which I am not aware of..and requesting your help
This is what I changed
<TR>

<TD class=shade width=150>WebSite<IMG height=7

src="images/icon_required.gif" width=7></TD>

<TD width=500>

{build_edit_control field="WebSite" mode="add" value=$value_WebSite}Â </TD>

<TR>
and It appears in the Page as less length only.. I tried adding parameter like size = 100..but still it did not help.
<TR>

<TD class=shade width=150>WebSite<IMG height=7

src="images/icon_required.gif" width=7></TD>

<TD width=500>

<input type="text" name="value_WebSite" maxlength=200 value="">Â </TD>

<TR>

Alexey 10/17/2006

Hi,
jist double-click your field on Add or Edit page in Visual Editor and set size parameter to 100 or whatever you need.

P
PHPLearner author 10/17/2006

thanks it worked... thanks for the help;