2 Replies Latest reply: Sep 12, 2008 6:57 PM by Kristtee RSS

    ptoducts demo plus

    Kristtee Community Member
      Hi
      I am a designer with no knowledge to programming or SPRY. As I was going through the Spry 'Products Demo' - http://labs.adobe.com/technologies/spry/demos/products/index.html

      I wonder, whether a few additions can be added to enhance a shopping experience such as
      1. below the accordion [ detail region ] - add a form
      2. in the form add a button called 'add to cart'
      3. then below the button add a text area to collect or list all the product id
      4. below that a text field for the user email id and a button to send the order
      When the Send button is clicked - the form should validate and gather the list of product ids and the users email id. and email to me a simple text email.

      IS IT POSSIBLE TO DO ALL THIS USING SPRY? BTW - for email i can use simple php script.
      Hope someone can help me. Appreciate in advance for your time and help.
      Thank you
      Kristtee
        • 1. Re: ptoducts demo plus
          Arnout Kazemier Community Member
          Sure it would be possible, but u would be willing to learn more about programming, javascript and Spry.

          in the "form" add a hidden field, with a referrence to the currrent selected row, maby the id..

          add a onsubmit function to the form that adds the hidden value to the list. So u will have your stored refference there.
          Than just let the user send the form u, and read out the data that u get with a server side file, and process it.

          That would be the basic of it.. Of course there will be more to look than that. as u have to create a new input, and append it to your list so it gets send together with other values of your list. But it wouldnt be impossible. to do..
          • 2. Re: ptoducts demo plus
            Kristtee Community Member
            Hi
            Thank you so much for you suggestions. I am not sure I can understand it all. never mind. I give up but use the SPRY as it is.
            Thank you
            krs