PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Order Form questions.

  1. brad13x
    Member

    Just purchased Gravity Forms. Seems pretty powerful. Just a few questions about creating an order form.

    I want to have the ability to purchase products from a drop down using a quantity box. I want them to be able to add more lines to the order form using something like the + you have for adding more Conditional Logic etc. If that isn't possible should I just keep asking if they would like to purchase another product then have another products/quantity section appear.

    Also is it possible to create a custom field that will total each individual line and display it.

    Is it possible to have all 3 on the same line? Or do I just mess with that in the CSS?

    Here is a rough idea.
    http://dev.cheminc.com/order-form/

    Thanks,

    Brad

    Posted 12 years ago on Tuesday May 17, 2011 | Permalink
  2. Currently it isn't possible to do the + and - type functionality used in some admin UI elements on the front end form. The fields have to exist on the form, dynamic field creation isn't currently a feature but it is something we'd like to add in the future.

    Until then you'd have to add all the fields to your form and then use conditional logic to show/hide the appropriate fields based on selections they make.

    I'm not sure what you mean by create a custom field that will total each individual line and display it. There is a Total field in the Pricing Fields toolbox that when added to your form will automatically calculate the Total of all Pricing Fields selected.

    If you want to position 3 fields on the same line you can use the CSS Ready Classes to position them side by side. Here is documentation on the CSS Ready Classes and how to use them:

    http://www.gravityhelp.com/documentation/page/CSS_Ready_Classes

    Posted 12 years ago on Tuesday May 17, 2011 | Permalink
  3. brad13x
    Member

    Thanks for your Help Carl.

    What I was trying to say was something like this

    Quantity Item Price Total
    3 Blue Widgets $1.00 $3.00
    2 Red Widgets $1.25 $2.50
    Total $5.50

    Posted 12 years ago on Tuesday May 17, 2011 | Permalink
  4. Currently there isn't a field that looks exactly as you described where it shows a Total for the Quantity.

    You can use the Product Field set to Single Product and it can display the Name, Price and include a Quantity field. Then the Total field you add to your form would show the Total of the entire form. It wouldn't show the Total of individual line items, just the Grand Total.

    Posted 12 years ago on Tuesday May 17, 2011 | Permalink
  5. Hi Carl,

    Is there any way to show grand total as well as individual line totals?

    Having only one grand total is a bit limiting for our needs.

    Many thanks,
    Greg

    Posted 12 years ago on Friday June 24, 2011 | Permalink
  6. Greg,
    Having a total for each product is not possible out of the box. However, it is possible to make it happen with a few lines of Javascript code. If you have a developer that can help you with this, I could point him in the right direction.

    Posted 12 years ago on Friday June 24, 2011 | Permalink
  7. Hi Alex,

    Unfortunately I am the one doing the form. I don't have a developer but please can you could point me in the right direction. If its all Greek to me (which i am sure it will be) i will try find a developer who can help me with it otherwise i will leave the form with just a grand total.

    Thanks,
    Greg

    Posted 12 years ago on Friday June 24, 2011 | Permalink
  8. Greg,
    Can you export your form with all the fields (except the subtotals, obviously) and send it to me (alex@rocketgenius.com)? I will see what I can do to help you.

    Posted 12 years ago on Friday June 24, 2011 | Permalink

This topic has been resolved and has been closed to new replies.