0 Replies Latest reply: Oct 18, 2011 12:04 AM by Phinehas1234 RSS

    Show cfdiv and cfinput in the same row

    Phinehas1234 Community Member

      Hi,

       

      I have some probloms on the layout when using "ColdFusion.navigate".

       

      For example, I use

       

      function checkClosingDate() {

           ColdFusion.navigate('cfc/value_validation.cfc?method=checkDate&date='+document.getElement ById('inputdate').value,'dateError');

      }

       

      <cfinput type="text" name="inputdate" size="8" maxlength="8"

          required="Yes" onblur="checkClosingDate();">

      <cfdiv id="'dateError'" style="height:20px;width:400px;" />

       

      to implement a date checking function.

       

      However, I found that the dateError always display under the inputdate textbox. But I want to show it next to the inputdate textbox because there are other textboxs under the inputdate textbox.

       

      How can I make the dateError div next to the inputdate textbox?