templates hassles

Last post 12-05-2005, 1:32 AM by sfkhooper. 1 replies.
Sort Posts: Previous Next
  •  12-05-2005, 1:22 AM 13370

    templates hassles

    This is too wierd! As a test of the template functionality I saved the following html as a file in my templates folder:

    <html>
    <head>
    <meta http-equiv="Content-Language" content="en-us">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>First Name</title>
    </head>
    <body>
    <form method="POST" action="--WEBBOT-SELF--">
        <!--webbot bot="SaveResults" U-File="D:\Data\form_results.csv" S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
        <table border="0" width="1035" id="table1">
            <tr>
                <td width="119" align="right">First Name</td>
                <td width="156"><input type="text" name="T1" size="20"></td>
                <td width="89">
                <p align="right">Last Name</td>
                <td width="653"><input type="text" name="T2" size="20"></td>
            </tr>
            <tr>
                <td width="119" align="right">Date of Birth</td>
                <td width="156"><input type="text" name="T3" size="20"></td>
                <td width="89">&nbsp;</td>
                <td width="653">&nbsp;</td>
            </tr>
        </table>
        <p><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
    </form>
    </body>
    </html>

    Then I ran my .net project and selected the template through CuteEdit. All it displays is: "First NameLast Name Date of Birth"
    Wierd thing is that if I click the Edit icon on the Insert Template dialog, the Make Template window appears with my html page properly formatted.

    It's like part of the program can understand it but the other can't. Anyone seen this before?

    TIA,
    Scott
  •  12-05-2005, 1:32 AM 13372 in reply to 13370

    Re: templates hassles

    Ok, forget this one. I've worked out I can just make them in the Template Maker.

    I also learnt that my orgiginal attempt, made externally, was somewhat bloated. Here's the same template as created by CuteEdit:
    <div>
       <div>Staff Employment Information</div>
       <div>First Name
           <input id=text1 value=text1 />
       </div>
       <div>Last Name
           <input id=text2 value=text2 />
       </div>
           <div>Date of Birth
           <input id=text3 value=text3 />
       </div>
    </div>

    Simple really! Now if I can just get to see the images in existing files I'll be set!
View as RSS news feed in XML