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.

Conditional logic with price field issue

  1. odesign
    Member

    Hi, I'm using a two products in a gravity form to calculate a total price based on the quantity of the products. However, I'm only starting off displaying the first product and then using a dropdown menu to ask if the client wants to order add an additional service (the second product). If the client chooses yes in the downdown menu, the second product field is displayed. Lastly I'm using the total field to calculate the total. However there seems to be a weird issue with the conditional logic as the total does not visibly update when a quantity of the additional product is filled in. However, if you complete the form the correct data is included in the results. Is this a known issue? Is it possible to place a product field inside conditional logic?

    Here is the form I'm having trouble with: http://www.amnon.se/bestallning/. Since the website is still in beta use the password "test123" to access the site. If you choose "Visualiseringar" you'll see the page with the issue.

    Posted 11 years ago on Wednesday February 13, 2013 | Permalink
  2. If the total does not update properly, it sounds like an issue with the conditional logic. I just tested the form and saw the total on screen, and added a quantity the last product and I saw the price did not change. I cannot see what information was submitted ultimately though. I believe my total on screen was 150 000,00 Kr, where it should have been 158 000,00 Kr (I believe, with 2 additional Antal extra bilder at 4 000,00 Kr each.

    Is it possible this last option is not attached to any product? Every option needs to be associated with a product.

    Posted 11 years ago on Sunday February 17, 2013 | Permalink
  3. odesign
    Member

    Hi, I just received your test-order and can confirm that the total in the order was 158 000,00 kr, i.e. the 2 extras were included. It seems that the "extra bilder" field works but doesn't update the total initially. You can also try choosing a couple extras and then clicking next and then back. If you go back and forth like that the total will have updated before submitting the form. Any ideas on what the issue is?

    Thanks!

    Posted 11 years ago on Sunday February 17, 2013 | Permalink
  4. Please export this form (Forms menu, then Import/Export and finally the top center menu item "Export Forms") and email the XML to me at chris@rocketgenius.com - I would like to install the form and take a look at the configuration.

    Posted 11 years ago on Monday February 18, 2013 | Permalink
  5. odesign
    Member

    I've sent you the form via e-mail, but I haven't received a response. Have you looked into the issue?

    Posted 11 years ago on Wednesday February 20, 2013 | Permalink
  6. This is working fine in my installation. Please try importing the form you emailed to me and testing that from the form preview. Sometimes exporting the form and importing it again will clear up any conditional logic issues. I did not see anything obviously wrong with the form.

    I put your form online here with new notifications:
    http://gravity.chrishajer.com/bestallning/

    Posted 11 years ago on Thursday February 21, 2013 | Permalink
  7. Conditional logic is not working for price fields after exporting and importing it.

    here is a screen shot: http://cl.ly/image/1W0g22470G0D

    here is the form export:
    http://cl.ly/code/0Z1T2i3v3R0a

    I am using two gravity forms addons... authorize.net and mailchimp. and all plugins are up to date as of today

    Posted 11 years ago on Wednesday April 24, 2013 | Permalink