Welcome to TalkGraphics.com
Results 1 to 7 of 7
  1. #1

    Question Can one insert "form mail coding" onto a Web Designer page?

    Hello:
    Can one insert "form mail coding" onto a Web Designer page? That way one can simply fill out an informational form, click submit, and send it along. Here's an example of such coding:

    &nbsp;</p>
    <CENTER>
    </CENTER>
    <FORM METHOD="POST" ACTION="/cgi-sys/formmail.pl">
    <p><BR>
    <!-- Here we are specifying that the input the visitor provides should be
    passed
    along to the formmail.pl script. Use this action including in the comments
    to make this form work. We have
    removed this action so that form does not go aware
    <FORM METHOD="POST" ACTION="/cgi-sys/formmail.pl"> -->
    <!-- In the next three lines, we are setting the recipient address that
    the message should go to, the subject line that the message you
    receieve will have, and we are saying that we would like to know
    the IP address and browser type of the person submitting the
    information. The IP address can be used to track abuse. -->
    <INPUT TYPE="hidden" NAME="recipient" VALUE="You@You.com">
    <INPUT TYPE="hidden" NAME="subject" VALUE="YourWebsite.com">
    <INPUT TYPE="hidden" NAME="env_report" VALUE="REMOTE_HOST,HTTP_USER_AGENT">
    <!-- The line below is selecting which page we want to show after the
    visitor submits their information. This should be a page letting
    them know their message has been sent -->
    <INPUT TYPE="hidden" NAME="redirect" VALUE="http://www.YourDomain.com/thanks">
    <!-- Prompt for the name of the visitor --><strong> What is your name, please? </strong><BR>
    <INPUT TYPE="text" NAME="realname"> <BR>
    <BR>
    <!-- Prompt the visitor to enter their e-mail address --> <strong>What is your
    e-mail address? </strong><BR>
    <INPUT TYPE="text" NAME="email"> <BR>
    <BR>
    <!-- Here we have a pull-down menu to select which product / feature they
    are writing us about --><strong>What is the nature of your communication with us today, please?</strong><BR>
    <SELECT NAME="Selection:">
    <OPTION VALUE="Feedback">Feedback.
    <OPTION VALUE="Service Inquiry">Inquiry.<br>
    </SELECT>
    <BR>
    <!-- Here, we are prompting for the message they would like to send us
    --> <BR>
    <BR>
    <!-- Here, we are prompting for the message they would like to send us
    --><strong>Please elaborate as you see fit:</strong><BR>
    <TEXTAREA NAME="address and companies" cols="35" rows="4" wrap="virtual"></TEXTAREA>
    <BR>
    <BR>
    </p>
    <p><strong>Would you care to disclose additional contact information?</strong><BR>
    <TEXTAREA NAME="how found us" cols="35" rows="4" wrap="virtual"></TEXTAREA>
    </p>
    <p><BR>
    <!-- The line below specifies that the user must enter their e-mail address
    and message to be able to submit their information to the form -->
    <INPUT TYPE="hidden" NAME="required" VALUE="email">
    <!-- Finally, the Submit and Reset button are generated with the below code
    -->
    <INPUT TYPE="submit" VALUE="Submit">
    <INPUT TYPE="reset" VALUE="Reset">
    </p>
    </FORM>
    <!-- We are ending our formmail.pl section with this tag-->
    <!-- If you wanted anything on the contact page below the form section,
    that code can be
    placed here --

  2. #2
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,506

    Default Re: Can one insert "form mail coding" onto a Web Designer page?

    Yes.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	form.png 
Views:	138 
Size:	10.6 KB 
ID:	102283  

  3. #3

    Default Re: Can one insert "form mail coding" onto a Web Designer page?

    Thanks. I looked for code-modification options in Xara's Web Designer 10 but haven't found one. I'm used to Adobe Dreamweaver, which makes such a feature available. Any suggestions as to how to do this with Xara's Web Designer though? Thanks in advance and have a great weekend. :-)

  4. #4
    Join Date
    May 2009
    Location
    Stoke on Trent , UK
    Posts
    384

    Default Re: Can one insert "form mail coding" onto a Web Designer page?

    hi you put the code in a placeholder - draw a rectangle on the screen - right click on it select web properties - click on the placeholder tab - click the "HTML CODE (body) button and paste the code in there - put a tick in regenerate placeholder image then click apply and your form should appear on screen so you can move it to desired position .

    cheerz

  5. #5
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,506

    Default Re: Can one insert "form mail coding" onto a Web Designer page?

    Thanks for that trukkerz. Not sure why I did not add that important and essential bit of info.

    Rixar - To go a bit further on what trukkerz has suggested. Placeholders are simple rectangles into which you place code or scripts which are then inserted into the HTML script for the page.

    Web Designer is not an HTML editor and so placeholders are how we insert code.

  6. #6
    Join Date
    May 2009
    Location
    Stoke on Trent , UK
    Posts
    384

    Default Re: Can one insert "form mail coding" onto a Web Designer page?

    lol I did think your reply was a bit unformative :-) which is unusual for you - you must of had your mind on other things :-)

  7. #7

    Default Re: Can one insert "form mail coding" onto a Web Designer page?

    Thanks for the feedback. I look forward to eventually finding the courage to give this coding approach a try. :-) Meanwhile have a great rest of the weekend and such.

 

 

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
  •