0 Replies Latest reply on May 6, 2009 1:13 AM by David_Powers

    Posting code in this forum

    David_Powers Adobe Community Professional

      When posting code in this forum, do NOT use "Insert Raw HTML". Use Syntax Highlighting > Plain instead, as shown here:



      You can also paste code directly into your post. However, using Syntax Highlighting > Plain has the advantage of preserving code formatting like this:


      <h1>User Login</h1>
      <form id="form1" name="form1" method="POST" action="<?php echo $loginFormAction; ?>">
          <label for="username">Username:</label>
          <input type="text" name="username" id="username" />
          <label for="pwd">Password:</label>
      <input type="password" name="pwd" id="pwd" />
      <input type="submit" name="doLogin" id="doLogin" value="Login" />


      If you use "Insert Raw HTML", the forum interprets the tags as HTML, in effect hiding your code. This is the same code entered using "Insert Raw HTML":


      User Login