Skip to main content
March 3, 2009
Answered

Autosuggest and firefox 3.0.6 not working

  • March 3, 2009
  • 1 reply
  • 346 views
I'm having a problem where the following field works fine on explorer but doesn't work on firefox 3.0.6:

<cfinput name="username" type="text" autosuggest="#list#" label="Username:" size="30"/>

autosuggest works fine on explorer but on firefox it doesn't work.

Also the datefield doesn't work on firefox see the code:

<cfinput name="from" value="#dateformat(form.from,"yyyy-mm-dd")#" type="datefield" label="From:"/>

The calendar here doesn't appear on firefox.

Please advise
    This topic has been closed for replies.
    Correct answer Newsgroup_User
    try with your code formatted as:
    <cfform ..>
    <table ...>
    ...
    </table>
    </cfform>

    (nest your table inside <cfform> instead of the other way around like
    you have now, which is NOT valid html)

    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/

    1 reply

    Inspiring
    March 4, 2009
    works fine on my FF3.0.6

    make sure your html is standards-compliant and properly formed.
    pay attention to how you nest tags in your code, specifically where your
    <cfform> tags are.

    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/
    March 5, 2009
    The code is below:

    <table width="50%" align="center" cellspacing="0" cellpadding="5" border="0">
    <cfform format="html" method="post" action="">

    <tr><td class="text3">From: <cfif isdefined("form.from")><cfinput name="from" value="#dateformat(form.from,"yyyy-mm-dd")#" type="datefield" label="From:"/><cfelse><cfinput name="from" value="#dateformat(now(),"yyyy-mm-dd")#" type="datefield" label="From:"/></cfif></td>
    <td class="text3">To: <cfif isdefined("form.to")><cfinput name="to" value="#dateformat(form.to,"yyyy-mm-dd")#" type="datefield" LAbel="To:"/><cfelse><cfinput name="to" value="#dateformat(now(),"yyyy-mm-dd")#" type="datefield" LAbel="To:"/></cfif></td></tr>
    <tr></tr><td class="text3">Member: <cfinput name="username" type="text" autosuggest="#list#" label="Username:" size="30"/></td>
    <td class="text3"><cfinput name="submit" type="submit" value="Show Access Log"/></td></tr>
    <tr><td colspan="2"><br></td></tr><tr><td colspan="2"><br></td></tr>
    </cfform>
    </table>


    I tried the code in a page without decoration and it didn't work.