close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

form action,please help

Thread began 3/19/2013 7:51 am by design445909 | Last modified 4/04/2013 6:51 pm by gtaylor63353 | 2856 views | 8 replies |

design445909

form action,please help

Hi
I'm trying to create a quote form on my existing website, the problem is i'm a bit confused. I know that when you create a form, you have to have a php script to send the form to your email let say, i have this form <form action="welcome.php" method="post">
Name: <input type="text" name="fname">
Age: <input type="text" name="age">
<input type="submit">
</form>
Here the form action is welcome.php, this will be used by the user to send the form to my email. But in the case of form builder what should i put, i don't really understand "Specify the action page" in CSS FORM BUILDER. Does the program create the data for me or should that create the data myself or should that use the Form Function to enter my email where my form will be submitted?
Help please, im a newbie here, i'm still learning to use the extension

Also when i create the form it gives me the currency in dollars ($) how can i change it to GRP (£)

Cheers

Sign in to reply to this post

Jason ByrnesWebAssist

The default action for the form in CSS Form builder is to post to itself.

This is the simplest way to set it up.

The action page is where CSS Form builder will place the code to process the server validations for the form.

If you want to have the form contents sent to you in an email, you can set that up on the Form Functions page

after the form is created, you can edit the Universal Email server behavior to set it to redirect to another page after sending the email.

Sign in to reply to this post

design445909

Hi Jason

Thanks for that, i will try that and see how ill get on, hope i will get that right, as i was a bit confuse.

Sign in to reply to this post

design445909

form

Hi Jason,

I haven't tried the Universal email yet but when i upload my file live i'm having a problem. I have change the comment field from textarea to html editor and that part doesn't show on my website, there is no html editor, i don't know why. beside when i send the form to my own address i got warning chdir () such as No such file or directory and fatal error require () failed opening require Blank.php
any help to sort that out?

Cheers

Sign in to reply to this post

Jason ByrnesWebAssist

make sure to upload the entire webassist directory to the server.

Sign in to reply to this post

design445909

Cheers Jason

Hi Jason

Thank you very much for your help, i'm sorted, everything is working well. Big up

Sign in to reply to this post

gtaylor63353

Redirect on Submit

What file do you mean by "Universal Email"? I looked through all of the email files created by Form Builder and could not find a place to set a redirect. Any pointers would be appreciated. I need to have the forms I am building redirect to a thank you page on submission.

Sign in to reply to this post

Jason ByrnesWebAssist

on your page, open the Server Behaviors panel, this will list all the server behaviors applied to the page. in the list, double click the Universal Email server behavior to edit it and set the Go To page.

Sign in to reply to this post

gtaylor63353

Solved

Thanks for the pointer. It solved the problem.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...