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.

Sending a calculated field from one form to another

  1. saxonycreative
    Member

    Hi, I am using a query string to send results from one form to another, which is working fine. The problem is that I am calculating a total on Form 1 based on the selections that the user chooses while they are on Form 1. However, when I send the total to Form 2, the sum of all potential options are included in the total, not just the options the user chose. How can I convert this total to a number as it is sent, so that I can display the actual total, or implement some other workaround to accomplish this? I look forward to your thoughts.

    Posted 9 years ago on Wednesday October 3, 2012 | Permalink
  2. How are you doing this now? Can you show us the query string parameters and the form?

    How about populating a hidden field in your form with the total and then including the merge tag for that field in your query string, rather than the total, or however you are doing it now?

    Posted 9 years ago on Wednesday October 3, 2012 | Permalink
  3. saxonycreative
    Member

    Thanks for the reply. The form is here: truebeachweddings.com/packages/package-estimator-part-i-of-iii

    Essentially, the user provides some contact info on Form 1 ( the results of which are passed along to the next forms in hidden fields)

    Then, the user chooses the services they need on Form 2 and receives a low, middle, high estimate based on the services they choose. These calculations are working correctly on Form 2 (the results are calculated in product fields with a css class of hidden with display:none), and I'm trying to pass the figures for the low, mid, and high over to Form 3.

    Form 3 appears to be losing the updated figures, and is instead showing the default values. For example, uncheck some services on Form 2 and then take note of the amount in the visible Number field at the bottom. This field value is being sent to the Number field at the top of Form 3, which should be displaying the updated value, but instead reverts to the default value. You can see the default value for this field in the URL string - the default is being passed and not the correct, updated value.

    I set things up this way (instead of a multi-page form) because we want to capture user info at different points in the process. Everything is actually working great for my purposes except for this one final issue. Let me know what you think - I'd be happy to provide you with a login to my site if it helps.

    Posted 9 years ago on Wednesday October 3, 2012 | Permalink
  4. I think I will need a WordPress administrator log in to take a look at this. Thank you. Please email it to chris@rocketgenius.com

    Posted 9 years ago on Wednesday October 3, 2012 | Permalink
  5. saxonycreative
    Member

    OK, just emailed you the login info. Thanks for taking a look and helping to resolve!

    Posted 9 years ago on Wednesday October 3, 2012 | Permalink
  6. saxonycreative
    Member

    Awesome guys, the new update resolved the issue. Nice work and I appreciate the quick follow-through!

    Posted 9 years ago on Friday October 5, 2012 | Permalink
  7. Right on, thanks for letting us know!

    Posted 9 years ago on Friday October 5, 2012 | Permalink

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