471,075 Members | 1,274 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,075 software developers and data experts.

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.
Jul 17 '05 #1
6 1688
James Smith wrote:
Hi,

I need someone to bounce some ideas off.
[...]

James.


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.
Jul 17 '05 #2
James Smith wrote:
Hi,

I need someone to bounce some ideas off.
[...]

James.


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.
Jul 17 '05 #3
James Smith wrote:
Hi,

I need someone to bounce some ideas off.
[...]

James.


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.
Jul 17 '05 #4
James Smith wrote:
Hi,

I need someone to bounce some ideas off.
[...]

James.


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.
Jul 17 '05 #5
James Smith <jn******@optusnet.com.au> wrote in message news:<41***********************@news.optusnet.com. au>...
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.


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
Jul 17 '05 #6
James Smith wrote:
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. Any ideas on how to make a list for something like this? The same would
apply to people who would make invoices receipts etc.


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
Jul 17 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Jeremy Weiss | last post: by
4 posts views Thread by Peeter Ups | last post: by
1 post views Thread by totoringo2004 | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.