[Pro] Contact Form error

Does anyone know why my form would have this code error in the fields? http://elysium.aswebsitedesign.com/contactform.html

The Form works, but all of the fields auto fill with this code.


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

This means that your page doesn’t have the .php file extension, and so your server isn’t processing those PHP statements and replacing them with regular HTML. What method did you use to create this form?

Walter

On Sep 21, 2011, at 9:56 AM, Nate wrote:

Does anyone know why my form would have this code error in the fields? http://elysium.aswebsitedesign.com/contactform.html

The Form works, but all of the fields auto fill with this code.


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

I simply used the PHP form actions. Is there a better way to create this form? I have been told that this method is also not very customizable.


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

For a simpler form use the PHP Feedback Form action - available from freewayactions.com where you will find a downloadable example

http://www.freewayactions.com/product.php?id=019

An example on my site at http://www.deltadesign.co/formtest.html

David


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

Okay, my mistake I am using the PHP Feedback Form action. I have not been able to create the form correctly. I can not add other fields and make certain fields required, and again with the HTML error in the text boxes.


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

I can not add other fields and make certain fields required, and again with the HTML error in the text boxes.

There is the Validate suite of actions for field validation. Select an input box and apply.

Also ensure that your fields are correctly named in the 3rd tab of the inspector - they should be ‘name’ and ‘email’ these are case cRiTiCal

D


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

Thank you very much, That worked great. Now is there any way to have the text in the field dissapear when you click inside of the text box?


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

is there any way to have the text in the field dissapear when you click inside of the text box?

Not seeing any text in there!

Also your page at aswebsitedesign.com/contactform.html is not correct. Have you uploaded a revised version yet?

Your name field is called ‘Name’ (should be ‘name’) and you have the validate action on it even though the PHPFF action does that for you.

Your email field is called ‘Email adress’ when the PHPFF action is looking for ‘email’

There is also a JS error coming from your validation script on the name field - take it off that one - you don’t need it.

I would recommend that you still construct your form within a table to hold it all together when text is resized.

D


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

My form now requires the name telephone and email, but I have put in in the first two fields and I can not get it to dissapear when you click in the box. Now the form does not seem to work at all. It requires the fields, then does not take you to a sucess, or fail page. and I recieve no email when the form is submitted. At submit the page just reloads and the form resets.


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

I got the form working correctly. I just cant get the text to dissapear when you click inside the fields.


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

I just cant get the text to dissapear when you click inside the fields.

What method are you using to add the text?

D


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

I’m just typing it into the value field in the inspector palette.


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

OK Nate - have a look at http://www.deltadesign.co/natesform.html

This form is constructed in a Table structure so that it doesn’t fall apart at larger text sizes. Change your browsers text size to test it and then try the same on your own form.

The input fields are styled with the Form Element Styler action.

Validation is through the Validate action suite.

Placeholder text is added via Item>Extended.

Select your field, Item>Extended

Select the Input Tab and then click New

Add in the Name/Value pair of placeholder and mytextinhere

OK the dialogue box and preview.

D


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

Thats great. I am about to try it, but also how did you make the Name field also required?


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

Same method. Validate action.

D


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

Okay. Thank you. Now these should be the last three things I need to know.

I am using the validate action on the name and phone number fields and neither one works like the email field, what else do I need to do?

How could I create my own button and use it like its one of the default buttons?

How did you change the text color inside of the fields? Do I need to use the extended tab for that?


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

I am using the validate action on the name and phone number fields and neither one works like the email field, what else do I need to do?

The email validator is built into the PHPFF action - as long as you have named the field correctly. If you want to use the validate action on the email field then change the Name of the field in the inspector (3rd tab) so it is NOT email.

How could I create my own button and use it like its one of the default buttons?

You can use any image in FW as a Submit button. Select the image and in the Inspector (3rd tab) look down the bottom and check the Submit tickbox.

How did you change the text color inside of the fields? Do I need to use the extended tab for that?

I used some CSS styling but you can use the Form Element Styler action.

D


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

How do I make the name field required? When I simply apply the validate action to it it does not work correctly.


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

Your text fields in the demo http://www.deltadesign.co/natesform.html have gray text for a placeholder and black text when you type. What kind of CSS did you use for that?


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