Announcement

Collapse
No announcement yet.

contact us form... version 6 & 7

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    contact us form... version 6 & 7

    Hi
    Is it possible to use the 'contact us' form (in version 7) in a site that is still using Version 6?

    I've tried uploading mf000001.pl to the cgi-bin.
    Also uploaded a copy of 'mail_form.html' from version 7
    Changed to suit the site from version 6, with the appropriate link to show the form.. but it doesn't work. I'm getting an Internal Server Error.

    Am I missing something obvious? or is it not possible to mix different versions?

    Thanks
    B
    www.outbackdirect.co.uk
    www.sipuk.co.uk
    www.ryobidirect.co.uk

    #2
    Hi there,

    You cannot mix different version of Actinic templates, as the older version may not recognise the advanced actinic NETQUOTEVARs.

    However, you can use 'mailto:me@mydomain.com' in the action field of the form. When the user clicks the submit button of the form, the browser will first show a warning box that the user's email address will be revealed to the recipient. If the user decides to proceed, the form data will be sent to the address mentioned in the mailto: tag. The browser will open the default mail client to send the data by email.
    For more information, please check the sample 'ContactForm1.html' attached.

    Alternatively, you can use 'FormMail', which is a server side script that gathers the data submitted in the form and mails it to a given email address. To do this:

    1. Open 'FormMail.pl' in Notepad

    2. Find

    Code:
    @recipients = ('^YourName@YourCompanyEmail.com');
    and enter your email address like

    Code:
    @recipients = ('^enquiries@worldofpower.co.uk');
    3. Save 'FormMail.pl' in your Site1 folder

    4. Edit the attached 'ContactForm2.html'

    5. Find

    Code:
    <FORM ACTION="http://www.YourCompanyURL.com/cgi-bin/FormMail.pl" METHOD="POST">
    and enter your website details like

    Code:
    <FORM ACTION="http://www.worldofpower.co.uk/cgi-bin/FormMail.pl" METHOD="POST">
    6. Find

    Code:
    <input type=hidden name="recipient" value="YourName@YourCompanyEmail.com">
    and enter your email address like

    Code:
    <input type=hidden name="recipient" value="enquiries@worldofpower.co.uk">
    7. Save the changes.

    8. Upload your site with the necessary files and check the results.

    I hope this helps you.
    Attached Files
    Cheers,
    Suresh Babu G

    Comment

    Working...
    X