Welcome to TalkGraphics.com
Results 1 to 10 of 33

Thread: input forms

Hybrid View

  1. #1
    Join Date
    Apr 2013
    Location
    Shrewsbury, Shropshire
    Posts
    73

    Default Re: input forms

    Quote Originally Posted by teonieuwlande View Post
    Sledger.. You CAN design forms in Xara. I have discovered how to use placeholders and layers to visually design a form. Still needs a PHP script to send the form but the controls on the form are in Webdesigner, can be placed anywhere you like (like normal with webdesigner).

    I would write a short how to with example but where to send or where to post it?

    (And can you remove this reply after reading since it is off topic?)
    I would be interested in seeing how you do this

  2. #2
    Join Date
    Jul 2011
    Posts
    8

    Default Re: input forms

    Webdesigner seems to generate HTML in the order in which layers are used. So if you have a layer with the HTML for the beginning of a HTML form, a second layer with fields for that form and a third layer that closes the form tag (</form>) and on the layer holding the fields, you design whatever you want, as long as form fields are used, the form is sent with information.

    In short, along with the screenshot. I have a layer with a placeholder that has the following content: <form action="http://www.mywebsitehere/mailer.php" method="post"> (the red rectangle in the screenshot) on the !--Form begin layer. The fields are on a layer between the !form begin and !form end layer. (see the button too?).

    If this looks good, I can give the PHP script too.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	screenshot.jpg 
Views:	91 
Size:	38.2 KB 
ID:	96934  
    Last edited by teonieuwlande; 30 June 2013 at 08:27 PM. Reason: New screenshot.

  3. #3
    Join Date
    Apr 2013
    Location
    Shrewsbury, Shropshire
    Posts
    73

    Default Re: input forms

    Quote Originally Posted by teonieuwlande View Post
    Webdesigner seems to generate HTML in the order in which layers are used. So if you have a layer with the HTML for the beginning of a HTML form, a second layer with fields for that form and a third layer that closes the form tag (</form>) and on the layer holding the fields, you design whatever you want, as long as form fields are used, the form is sent with information.

    In short, along with the screenshot. I have a layer with a placeholder that has the following content: <form action="http://www.mywebsitehere/mailer.php" method="post"> (the red rectangle in the screenshot) on the !--Form begin layer. The fields are on a layer between the !form begin and !form end layer. (see the button too?).

    If this looks good, I can give the PHP script too.
    Hi teonieuwlande, This looks great can you attach the .xar as well as the .php script so I can follow what you did and create my own version - Many thanks

    Geoff

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •