Loading ...
Sorry, an error occurred while loading the content.

Re: [qformsapi] Problem with n-Related Select Boxes

Expand Messages
  • Mary Leir
    Thanks Dean, I am not using any cfforms. I think the libraries are loading properly ­ at least enough to do the form validation ­ it turns the empty fields
    Message 1 of 5 , Dec 2, 2008
    View Source
    • 0 Attachment
      Re: [qformsapi] Problem with n-Related Select Boxes Thanks Dean,

      I am not using any cfforms. I think the libraries are loading properly – at least enough to do the form validation – it turns the empty fields red, just doesn’t populate the lists.

      I also tried moving the init code to below the form (per the instructions in the third bullet on this page http://www.pengoworks.com/qforms/docs/using.htm)

      Do you think there is a coldfusion reserved word being used in the  field.js library?

      Mary


      On 12/2/08 9:49 AM, "Dean Lawrence" <deanlaw@...> wrote:


       

      Hi Mary,

      I typically get this type of error if the qForm library has not
      properly loaded. If you are using cfform in your code, ColdFusion
      inserts it's own Javascript in the header of the page, which might be
      causing the issue.

      Hope this helps,

      Dean

      On Mon, Dec 1, 2008 at 10:24 PM, Mary Leir <mary@... <mailto:mary%40leirdesign.com> > wrote:
      > I have been able to get several of the form examples to work on my system. I
      > have also been able to get the n-related select box example to work on my
      > system as a static page. But, when I place the code into a Coldfusion 8
      > page, I get a javascript error:
      >
      > Error objForm.Division.populate is not a function
      > Error TypeError: objForm.Division.populate is not a function
      >
      > And none of the pulldown menus populate on change. Is anyone else having
      > problems with CF8 or have any suggestions?
      >
      > Thanks.

    • Dean Lawrence
      Hi Mary, Since all the javascript files get loaded on the client side of things, ColdFusion is already done processing, so there would not be a conflict there.
      Message 2 of 5 , Dec 2, 2008
      View Source
      • 0 Attachment
        Hi Mary,

        Since all the javascript files get loaded on the client side of
        things, ColdFusion is already done processing, so there would not be a
        conflict there. Without seeing your code, I would double check that
        you have indeed instatiated your qForms object with the name objForm
        and that your select field is named Division. If you changed any of
        the names from the demo code, this would cause your problems.

        Dean

        On Tue, Dec 2, 2008 at 11:05 AM, Mary Leir <mary@...> wrote:
        > Thanks Dean,
        >
        > I am not using any cfforms. I think the libraries are loading properly – at
        > least enough to do the form validation – it turns the empty fields red, just
        > doesn't populate the lists.
        >
        > I also tried moving the init code to below the form (per the instructions in
        > the third bullet on this page
        > http://www.pengoworks.com/qforms/docs/using.htm)
        >
        > Do you think there is a coldfusion reserved word being used in the field.js
        > library?
        >
        > Mary
        >
        >
        > On 12/2/08 9:49 AM, "Dean Lawrence" <deanlaw@...> wrote:
        >
        >
        >
        >
        > Hi Mary,
        >
        > I typically get this type of error if the qForm library has not
        > properly loaded. If you are using cfform in your code, ColdFusion
        > inserts it's own Javascript in the header of the page, which might be
        > causing the issue.
        >
        > Hope this helps,
        >
        > Dean
        >
        > On Mon, Dec 1, 2008 at 10:24 PM, Mary Leir <mary@...
        > <mailto:mary%40leirdesign.com> > wrote:
        >> I have been able to get several of the form examples to work on my system.
        >> I
        >> have also been able to get the n-related select box example to work on my
        >> system as a static page. But, when I place the code into a Coldfusion 8
        >> page, I get a javascript error:
        >>
        >> Error objForm.Division.populate is not a function
        >> Error TypeError: objForm.Division.populate is not a function
        >>
        >> And none of the pulldown menus populate on change. Is anyone else having
        >> problems with CF8 or have any suggestions?
        >>
        >> Thanks.
        >
        >



        --
        __________________________________________
        Dean Lawrence, CIO/Partner
        Internet Data Technology
        888.GET.IDT1 ext. 701 * fax: 888.438.4381
        http://www.idatatech.com/
        Corporate Internet Development and Marketing Specialists
      Your message has been successfully submitted and would be delivered to recipients shortly.