[Express] php feedback form

Hi

I’m using the Action - php feedback form. Creating the form using a table.

I’ve found that if someone presses the return key, (intending to start a new line in the box when entering details), the form sends immediately. Is there any way to stop this happening?

Also, is there any way to make the input box bigger? I know I can make the input characters as many as I wish by setting the maximum length to ‘0’ but I would like the actual box to appear deeper on the page. The only option seems to be ‘size’ but that just changes the length of the box, not the depth.

Thanks for any help.

Pauline


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Pauline,

This only happens in text fields and you don’t (can’t) have new lines
in text fields, these are drawn to hold one line of text only. If you
want to offer more than one line of text then use a text area, this
will accept returns without sending the form.

You can change the height by selecting the field or area and adjusting
the width and height from the inspector or you can just grab the
corner of the form element and drag it to the length you want.

I think there is a lot of misunderstanding with form elements, people
tend to confuse the use of text fields and text area, text fields for
one line of text and text areas for more than one line, so you would
use a text field for say a persons name and a text area for a message
or comment.

You can also customise text areas and fields using actions, there is
the Form Element Styler action and the Form Element CSS action, both
these can be used to style the form elements in different ways.

Form Element Styler:
http://www.actionsforge.com/projects/view/39-form-element-styler

Form Element CSS:
http://www.actionsforge.com/projects/view/90-form-element-css

HTH

On Sep 7, 2009, at 6:12 PM, Granny wrote:

Hi

I’m using the Action - php feedback form. Creating the form using a
table.

I’ve found that if someone presses the return key, (intending to
start a new line in the box when entering details), the form sends
immediately. Is there any way to stop this happening?

Also, is there any way to make the input box bigger? I know I can
make the input characters as many as I wish by setting the maximum
length to ‘0’ but I would like the actual box to appear deeper on
the page. The only option seems to be ‘size’ but that just changes
the length of the box, not the depth.

Thanks for any help.

Pauline


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Oh thank you SO much. It is easy when you know how!

I’ve been pondering this for weeks and now it is working perfectly.

Thank you Mike.

Regards
Pauline


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you use a Text Area, rather than a Text Box input, then you can
have returns inside it. A Text Box cannot accept returns as a part of
its input, so pressing that key “bubbles up” to the form, and the
browser does its default thing, which is usually to issue a click
event on the first Submit button it can find in the form.

Walter

On Sep 7, 2009, at 12:12 PM, Granny wrote:

I’ve found that if someone presses the return key, (intending to
start a new line in the box when entering details), the form sends
immediately. Is there any way to stop this happening?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options