The lightest-weight way to do this is with cookies, in the browser. You could do it with a server-side application, and that would be more robust and offer more options, but it depends on how you are managing the list of jobs or applicants how you would best proceed.
I have a multi-page example (using cookies) here: Catalog and another one-page example using a JavaScript object in the page to hold all the ordered items here: JavaScript Shopping Cart
To be clear, the one-page example doesn’t use cookies at all, it’s a classical one-page application, in that everything in all categories is built out of JavaScript and manipulated in the browser’s memory while you interact with it. Note that the URL doesn’t change when you move from “page” to “page”.
Both of these examples would fit an application process where you want to maintain the listings in a static file. If you wanted to have a database, where you client could update job listings or applicants could advertise their availability, without you needing to get involved in the day-to-day data entry, then you would need a different approach than this, and frankly, the time you would spend on the cart part would be dwarfed by the data-sanitization and database connection portion of the project.
Walter
On Mar 14, 2013, at 9:49 AM, hugh wrote:
I’m not sure if Dynamo is the right place for this, can move it if not…
I want users to be able to click a graphic link called “Add To Hire List” - a bit like an ‘add to cart’ I suppose, but the difference is that the item just gets added to a list in a form, and when the form is completed the list of hire items is sent to the company for them to quote based on the list.
There is no need or desire at this time for a hire and payment completion online. It is simply to enable the ‘shopping list’ to be sent to the company who can then contact the customer with a quote (we’re talking industrial stuff here, not retail).
What would be the best way to do this? It would be nice to have a ‘My Hire List’ where users can see their hire choices and complete the form with contact details before sending.
Any ideas on easiest way to do this?
Hugh
dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options