[ZDP] BackTalk to Document The Zope Book (2.6 Edition)/Using Basic Zope Objects

webmaster at zope.org webmaster at zope.org
Thu Apr 22 00:26:01 EDT 2004


A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/BasicObject.stx#3-72

---------------

      Visit the 'Interest' folder by clicking on it within the Zope
      Management Interface.  Within the 'Interest' folder, create a Page
      Template with the 'id' *interestRateForm* that collects "principal",
      "interest_rate", "periods" and "years" from your users.  Use this
      text as the body of your *interestRateForm* page template::

        <html>
          <body>

          <form action="interestRateDisplay" method="POST">
          <p>Please enter the following information:</p>

          Your current balance (or debt): <input name="principal:float"><br>
          Your annual interest rate: <input name="interest_rate:float"><br>
          Number of periods in a year: <input name="periods:int"><br>
          Number of years: <input name="years:int"><br>
          <input type="submit" value=" Calculate "><br>
          </form>

          </body>
        </html>

        % Chirael - Mar. 24, 2004 7:41 pm:
         Um, shouldn't you wrap the middle block in paragraph tags for it to be correct?
         <p>Your current balance (or debt): <input name="principal:float"><br>
         Your annual interest rate: <input name="interest_rate:float"><br>
         Number of periods in a year: <input name="periods:int"><br>
         Number of years: <input name="years:int"><br>
         <input type="submit" value=" Calculate "></p>

        % Anonymous User - Apr. 22, 2004 12:26 am:
         no



More information about the ZDP mailing list