Quote's Invoices Lists...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • James Smith

    Quote's Invoices Lists...

    Hi,

    I need someone to bounce some ideas off.

    This is what I'm trying to do, I want to be able to create a script that
    will spit out a quote based on the information filled in.

    The part I'm stuck on is. Entering all the items in.

    Ok, say I have a form, it starts off where you put in all the details
    (eg, who the quote is for address phone no etc.)

    Then there will be a list of items to go onto the quote.

    Now this is the part I'm stuck on. I'm thinking maybe something like an
    add new item button that opens a new window and then you enter in the
    details for each item.
    This then adds each item to the quote. Each item that is entered can be
    added directly to the database. So what I'm thinking maybe is a popup
    window that you fill in the details for each item, you hit submit, and
    then it goes back to the origional quote page, but now with the item
    added to the list.

    Maybe is there java script where you can open a new window and then
    refresh the parent window when the child is closed? this would then have
    the items listed.

    Any ideas on how to make a list for something like this? The same would
    apply to people who would make invoices receipts etc.

    James.
  • C.J. Garibay

    #2
    Re: Quote's Invoices Lists...

    James Smith wrote:[color=blue]
    > Hi,
    >
    > I need someone to bounce some ideas off.
    > [...]
    >
    > James.[/color]

    James, it sounds like what you want is to make multiple updates to the
    same page without having to reload the whole page each time. While you
    can do this with a popup window and/or JavaScript, a better alternative
    would be to set it up with a form that submits to an embedded Iframe.

    This allows you to pseudo-dynamically update the page and avoids the
    problems that come along with JavaScript. For the sake of usability,
    it's best to design under the assumption that JavaScript is not
    available (unless you're coding for a controlled corporate/intranet
    environment).

    C.J.

    Comment

    • C.J. Garibay

      #3
      Re: Quote's Invoices Lists...

      James Smith wrote:[color=blue]
      > Hi,
      >
      > I need someone to bounce some ideas off.
      > [...]
      >
      > James.[/color]

      James, it sounds like what you want is to make multiple updates to the
      same page without having to reload the whole page each time. While you
      can do this with a popup window and/or JavaScript, a better alternative
      would be to set it up with a form that submits to an embedded Iframe.

      This allows you to pseudo-dynamically update the page and avoids the
      problems that come along with JavaScript. For the sake of usability,
      it's best to design under the assumption that JavaScript is not
      available (unless you're coding for a controlled corporate/intranet
      environment).

      C.J.

      Comment

      • C.J. Garibay

        #4
        Re: Quote's Invoices Lists...

        James Smith wrote:[color=blue]
        > Hi,
        >
        > I need someone to bounce some ideas off.
        > [...]
        >
        > James.[/color]

        James, it sounds like what you want is to make multiple updates to the
        same page without having to reload the whole page each time. While you
        can do this with a popup window and/or JavaScript, a better alternative
        would be to set it up with a form that submits to an embedded Iframe.

        This allows you to pseudo-dynamically update the page and avoids the
        problems that come along with JavaScript. For the sake of usability,
        it's best to design under the assumption that JavaScript is not
        available (unless you're coding for a controlled corporate/intranet
        environment).

        C.J.

        Comment

        • C.J. Garibay

          #5
          Re: Quote's Invoices Lists...

          James Smith wrote:[color=blue]
          > Hi,
          >
          > I need someone to bounce some ideas off.
          > [...]
          >
          > James.[/color]

          James, it sounds like what you want is to make multiple updates to the
          same page without having to reload the whole page each time. While you
          can do this with a popup window and/or JavaScript, a better alternative
          would be to set it up with a form that submits to an embedded Iframe.

          This allows you to pseudo-dynamically update the page and avoids the
          problems that come along with JavaScript. For the sake of usability,
          it's best to design under the assumption that JavaScript is not
          available (unless you're coding for a controlled corporate/intranet
          environment).

          C.J.

          Comment

          • chotiwallah

            #6
            Re: Quote's Invoices Lists...

            James Smith <jncsmith@optus net.com.au> wrote in message news:<41196996$ 0$30421$afc38c8 7@news.optusnet .com.au>...[color=blue]
            > Hi,
            >
            > I need someone to bounce some ideas off.
            >
            > This is what I'm trying to do, I want to be able to create a script that
            > will spit out a quote based on the information filled in.
            >
            > The part I'm stuck on is. Entering all the items in.
            >
            > Ok, say I have a form, it starts off where you put in all the details
            > (eg, who the quote is for address phone no etc.)
            >
            > Then there will be a list of items to go onto the quote.
            >
            > Now this is the part I'm stuck on. I'm thinking maybe something like an
            > add new item button that opens a new window and then you enter in the
            > details for each item.
            > This then adds each item to the quote. Each item that is entered can be
            > added directly to the database. So what I'm thinking maybe is a popup
            > window that you fill in the details for each item, you hit submit, and
            > then it goes back to the origional quote page, but now with the item
            > added to the list.
            >
            > Maybe is there java script where you can open a new window and then
            > refresh the parent window when the child is closed? this would then have
            > the items listed.
            >
            > Any ideas on how to make a list for something like this? The same would
            > apply to people who would make invoices receipts etc.
            >
            > James.[/color]

            this is actually a javascript problem, so i just give you a direction
            here. as far as i understand you, you want put text in a form from a
            popup. use "opener" to adress the parent window from the pop-up, so no
            need to refresh.

            micha

            Comment

            • Pieter Nobels

              #7
              Re: Quote's Invoices Lists...

              James Smith wrote:[color=blue]
              > Now this is the part I'm stuck on. I'm thinking maybe something like an
              > add new item button that opens a new window and then you enter in the
              > details for each item.
              > This then adds each item to the quote. Each item that is entered can be
              > added directly to the database. So what I'm thinking maybe is a popup
              > window that you fill in the details for each item, you hit submit, and
              > then it goes back to the origional quote page, but now with the item
              > added to the list.[/color]
              [color=blue]
              > Any ideas on how to make a list for something like this? The same would
              > apply to people who would make invoices receipts etc.[/color]

              Let the user fill in the information one-by-one, and each time submit
              the form. You save the results in a session and when the user clicks
              Finish (instead of Next or something like that), you process the data in
              the session.

              --
              Pieter Nobels

              Comment

              Working...