• Resolved amrapal

    (@amrapal)


    Hi Team,

    I had created a calculated form for displaying the calculated results, everything works fine as expected.
    As per requirement, I have created 2 pages using page break.
    1) User enter data input into the fields
    2) Calculate the result by using calculated fields.
    But, I want to create a form that has the name and email-id that are required before calculating the result, which means this simple form should be between the above two.
    Users redirect to the Result page after submitting the form only and email goes to specific email id.
    Is that possible? Please suggest
    Because I tried using the button to submit form data, it won’t work!
    You can refer to the link for more clarification (i.e. our requirement)

    Thanks in advance.

    • This topic was modified 3 years, 1 month ago by amrapal.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello,

    If you configure the email field as required on the first page and the calculated fields on the second one, the user cannot access the results without entering the email address.

    Another alternative would be checking the value of the email field as part of the equation to display the result only it was populated. For example, assuming the current equation is fieldname1+fieldname2 and the email field the fieldname3, you can edit the equation as follows: IF(fieldname3, fieldname1+fieldname2, '')

    A third alternative would be to hide the calculated fields in the form (by ticking a checkbox in its settings), and display them only in the thank you page by using the shortcode for results (https://cff.dwbooster.com/documentation#thanks-page), in whose case, the user will be redirected to the thank you page if he/she has populated the required fields in the form.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Form submission before calculating the result’ is closed to new replies.