This topic is locked

Advanced search screen - changing size of input box

6/27/2008 9:51:59 AM
PHPRunner General questions
S
SJWilson author

I have a field called content. It is a large text area on the add/edit pages because it displays a lengthy chunk of html. On the Advanced Search screen the input box where the user enters his keywords shows up as a simple text input box as it should. However, it is very small. Changing the size of this on the visual editor unfortunately also changes the size of the input on the add/edit pages as well.
Is there a way I can change the size of this input box on the advanced search screen without affecting how the box appears on the add/edit pages?

J
Jane 6/30/2008

Hi,
here is a workaround:

  1. edit SQL query on the Edit SQL query tab:
    select field1,

    field2,

    field2 as field2_search,

    ...

    from TableName



2. check field2_search on the advanced search page only on the Choose fields tab,

3. set up field2_search as text field and change Size option for this field on the "Edit as" settings dialog on the Visual Editor tab.

S
SJWilson author 6/30/2008

Thank you Jane, as always your instructions worked perfectly.
As a web developer I've dealt with a lot different software companies over the years. You offer the best customer service in the business. If I get stuck I can always count on an answer that works within 24 hours, often less. Thanks for being there and keep up the great work!

T
thesofa 7/1/2008

I second what you just said, fantastic support. It makes the price worthwhile.

Thanks