Using Forms and FormMail with ekmPowershop

Hosted Ecommerce Shopping Cart Software

hosted online shop - ecommerce software - shopping cart software
Home
Home
Overview
Overview
Our Customers
Our Customers
Online Demo
Online Demo
Sign Up
Sign Up
Support
Support
Guides & Articles
User Guide & Tutorials
FAQ's
ekmCommunity
Contact Us
Contact Us
Your Account
Your Account
Call our uk ecommerce Sales Hotline on 0870 013 0626

Select Currency
UK Pound Sterling Euro US Dollar


Our online shops are powered by Windows Server 2003, 128bit Secure Server, and .net
support

 

Using Forms and FormMail with ekmPowershop

Forms are used to allow your customers to send information back to you. The usual usage of forms within your online shop are to collect customers details, the checkout procedure for example is really just a collection of forms designed to gather your customers details.

You can create forms using HTML, your favourite web design program or through the ekmPowershop WYSIWYG editor.


Creating Forms with the WYSIWYG editor

The ekmPowershop editor will let you add forms to any of the webpages within your online shop, so go onto one of your webpages and click the Edit Webpage icon.
  1. Click within the editor where you want the form to start.

    Screenshot

  2. Click the Insert Form icon Icon. A box will appear asking you for a form name, action and method. By default this is already setup for you, so click OK. You will now see a red box appear within the editor, this is your form. All the forms fields need to appear within this red box.

    Screenshot

  3. Ensure your cursor is within the red box and then click the field type you wish to add, in this example we will use a textbox... so click the textbox icon Screenshot. You will be asked to give the field a name. You can also specify a default value for the form and various other settings. In this example just give the textbox a name of "companyname".

    Screenshot

  4. You will now have your webpage with the textbox added...

    Screenshot

  5. We now need to add a submit button so visitors can actually send you the input they have entered. So click the button icon Icon. Enter the value as "Submit" and set the button type to be "Submit". Click OK and you should end up with a form like...

    Screenshot

  6. You have now created your first form. Simply click the update icon and test it.


Creating Forms using HTML

The basic syntax for a HTML form with ekmPowershop is…

<FORM NAME="myform" METHOD="POST" ACTION="index.asp?function=FORMMAIL">

     <INPUT TYPE="text" NAME="companyname" VALUE="">

     <INPUT TYPE="submit" VALUE="Submit">

</FORM>

... this would produce a form like…



With ekmPowershop you can make full use of our FormMail ability by submitting all your forms to "index.asp?function=FORMMAIL" and then everything in the form will be emailed to the email address(es) setup in your payment processing section.

You can also pass the following fields...

EmailFrom If used the email that you receive will look like its come from this address. This makes it really easy to reply to the forms as they will go straight back to the person who submitted it.

Example:
<INPUT TYPE="hidden" NAME="emailfrom" VALUE="someone@somewhere.com">
Subject If used the email that you receive will use this as the subject.

Example:
<INPUT TYPE="hidden" NAME="subject" VALUE="Contact Form">
UrlRedirect When the form is submitted you can redirect the user to another page.

Example:
<INPUT TYPE="hidden" NAME="urlredirect" VALUE="http://www.yourwebsite.com/complete.htm">
RequiredFields You can specify that some of the fields are required and if they are not entered an error message will be displayed. To use it simply list all the fields you require in the format: [field1], [field2], etc...

Example:
<INPUT TYPE="hidden" NAME="requiredfields" VALUE="[name],[companyname],[email]">
 


« Back
About Us   |   Site Map   |   Terms   |   Privacy