Loading...

Form Tag

${ form |type :args }
- usage : ${form|post:http://localhost/form.php}

This will allow you to wrap the document folder contents into a Form element respective of the output environment. The Form element will enhance your interactive outputs adding the ability to build data-driven interactive applications from a single PSD file.

This tag works with [folders] only.
Most forms will require minimal tweaking as all web browsers render forms and input elements differently.

GET and POST Support

Form supports two tag [types]: get and post, along with [args] for the [action url] of the form. The [args] must be a valid [url].

Example: ${form|get:http://localhost/get-script.php}
Example: ${form|post:http://localhost/post-script.php}

Form Handling

Form Tags will allow you to build data driven HTML5 web forms which will directly export with the required settings usage. Web forms will take the user input and send data to server-side script, so you will need a server-side script to process the form, see example php email script below.

Example PHP Email Script

1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
    //edit this
    $youremail = "youremail@yoursite.com";
    $subject="Message sent using your contact form";
 
    //DO NOT edit this
    $name=$_REQUEST['name'];
    $email=$_REQUEST['email'];
    $message=$_REQUEST['message'];
    $from="From: $name<$email>\r\nReturn-path: $email";
    mail($youremail, $subject, $message, $from);
    echo "Email sent!";
?>

This script will give you basic form handling using both GET and POST request.

Download the Layer Tags PSD Templates to test [Layer Tags] with your output.
LOGIN NOW: Get instant access to our free Online Training - click here.

Products For Smart Professionals


smart_images_base_set

Smart Images Base Set

smart_psd

Smart PSD Batch

smart_images

Smart Images

Need a custom solution?

Try our Shop!

Using the Plugin

Layer Support

Layer Tags

How To Guides

Optimization Tips

Help Us Improve


We aim to keep our content relevant with useful information, examples, samples and links. Tell us what you think!

I found the content:

Helpful
Confusing
Outdated
Broken Links
Bad Spelling
Too Short
Too Long

This page needs:

Nothing
Better Content
Links
Examples
Videos

Free Download


Responsive Multi-Page Website

A clean responsive website with multiple pages +target screens.

Start Your 14 Day Free Trial

New users get instant access to the 14 Day Free Trial with all features enabled, and Free Online Training. We guarantee your first conversion will 100% work - we work with you to ensure this, contact us or check our FAQs for assistance.

Connect With Us

Top