Announcement

Collapse
No announcement yet.

Contact Us Changes

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

    Contact Us Changes

    <!-- Act_ContactUs HTML begin -->
    <Actinic:VALIDATIONERROR/>

    <table cellpadding="3" cellspacing="0">
    <tr>
    <td width="15">&nbsp;</td>
    <td colspan="2"><strong>NETQUOTEVAR:FORMHEADER</strong><br>
    <br> </td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>NETQUOTEVAR:NAME</td>
    <td> <input type="TEXT" name="Name" size="50" maxsize="125" value="NETQUOTEVAR:NAMEVALUE">
    </td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>NETQUOTEVAR:SUBJECT</td>
    <td> <input type="TEXT" name="Subject" size="50" maxsize="125" value="NETQUOTEVAR:SUBJECTVALUE">

    </td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>NETQUOTEVAR:EMAIL</td>
    <td> <input type="TEXT" name="EmailAddress" size="50" maxsize="125" value="NETQUOTEVAR:EMAILVALUE">
    </td>
    </tr>
    <tr>
    <td valign="top">&nbsp;</td>
    <td valign="top">NETQUOTEVAR:MESSAGE</td>
    <td><textarea type="TEXT" rows="10" cols="45" name="Message">NETQUOTEVAR:MESSAGEVALUE</textarea></td>
    </tr>
    <tr>
    <td valign="top">&nbsp;</td>
    <td valign="top">&nbsp;</td>
    <td><input type="SUBMIT" name="ACTION" value="NETQUOTEVAR:SENDBUTTON"> </td>
    </tr>
    <tr>
    <td valign="top">&nbsp;</td>
    <td colspan="2" valign="top">NETQUOTEVAR:REQUIREDFIELDS NETQUOTEVAR:HIGHLIGHTED.</td>
    </tr>
    </table>




    What/how do I have modify the above section to assign my own subject header to this email template rather than allowing the customer to specify it?

    #2
    <td>NETQUOTEVAR:SUBJECT</td>
    <td> <input type="TEXT" name="Subject" size="50" maxsize="125" value="NETQUOTEVAR:SUBJECTVALUE">

    Ok so with a little common sense I replaced the "NETQUOTEVAR:SUBJECTVALUE" see below!

    <td>NETQUOTEVAR:SUBJECT</td>
    <td> <input type="TEXT" name="Subject" size="50" maxsize="125" value="Site Enquiry">

    I didn't change the variable as some of the perl scripts behind this look multipurpose and I don't want all generated emails going out from use with the subject line of Site Enquiry. Is that right or wrong?

    The most important thing for me is that this field becomes read only for the users i.e. the user cannot change the subject line of the email.

    How do I do that?

    I've tried deleting everything other than the value="site enquiry" and I've also tried deleting input type="TEXT". Both mods endup with no table being shown and no entry "site enquiry". Are these modifications going to need to be done in the mf000001.plx script?

    Comment


      #3
      Could hide the subject line with CSS or see http://www.cs.tut.fi/~jkorpela/forms/readonly.html
      Peblaco

      Comment


        #4
        Louise, you're a star!

        Those pages have now been bookmarked for future reference. I saw the readonly control (if that's how you describe it) but there wasn't any examples that I saw that showed how to use it. I googled it and came up with this site http://goldray.com/forms/forms.htm#tf and that showed me.

        My code now reads <input type="TEXT" readonly="readonly" name="Subject" size="50" maxsize="125" value="Site Enquiry"> and works a dream. I appreciate there are work arounds for this if the user is clever enough but I doubt it will happen. It will be easy enough to spot if it does happen!

        Comment

        Working...
        X