• Resolved karthikyarramati

    (@karthikyarramati)


    I’m currently working on my WordPress website and need some assistance with integrating a pricing table into my registration form created by forminator. Here’s what I’m looking to achieve:

    Objective: I’ve already set up my registration form using the Forminator plugin on my WordPress website(https://ageingcongress.org/register), you can visit the “registration form” section in the registration link provided.

    I want to add a pricing table to that registration form created. The pricing table should display different registration types (Student, Speaker, Delegate, Exhibitor) along with their corresponding prices for both “Early Bird” and “Spot Reg” options. (you can refer to the sample pricing table https://gicbc.org/registration)

    1. Each row header (registration type) should function as a radio button, allowing users to select their preferred registration type. (as shown in the sample table)
    2. The form should automatically grab the price under “Early Bird” if the user’s selection falls within the early bird registration period. Otherwise, it should grab the price under “Spot Registration”. (we may add two more columns/fields later)
    3. It’s important to ensure that the selected price is captured and passed to the appropriate form inputs correctly.

    Any help or guidance on how to achieve this integration would be greatly appreciated!

    Thanks in advance for your assistance.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @karthikyarramati

    I hope you are doing well today.

    Please take a look at this example:

    https://pastebin.com/DVxD0Lrm
    https://paste.pics/589359eddd845097ee8fc5f7097efd8f

    there is a form that you can import as a test and an image that shows up how this will look like. Of course, you will need to modify the HTML field and table there to adjust the width or cells and remove borders. Also, you will need to enable the Calculations tab in the radio field and add the price for each plan. Later on, you will need to create a Calculation field with value: {radio-1} that will read the price. In the end, add the Paypal field and set up the Payment amount as “Variable” and the Variable amount should read from the Calculations fields.

    Please note this is only a draft which you will need to customize more or less.

    As for the selected value by default, edit your radio button field and select the value that should be selected by default.

    Kind Regards,
    Kris

    Thread Starter karthikyarramati

    (@karthikyarramati)

    Hey Kris,

    I just wanted to express my sincere gratitude for your swift response!

    I gave the code you provided a whirl, and it’s almost exactly what I was hoping for. However, I realized that the radio buttons should actually serve as row headers, not table values. So, when a user selects a category like “student,” “speaker,” or “delegate,” the corresponding price should be taken as form input.

    If you could take a moment to glance at this sample image for reference: here, and then check out the “responsive table” on this page to see how it should function: here, I’d really appreciate it.

    Now, here’s the tricky part. Once a user selects one of the row headers, the price linked with that category should automatically fill in the form inputs for the dates provided. For instance, if a user chooses “delegate,” and the delegate prices are $100, $200, and $300 for early bird, standard, and spot registrations respectively, the system should detect the current date and pick the appropriate price. (I’m still a bit fuzzy on how this is working in the reference link: here, so any insights or suggestions on the logic would be incredibly helpful.)

    Thank you ever so much for your invaluable assistance!

    Regards,
    Karthik

    Thread Starter karthikyarramati

    (@karthikyarramati)

    please refer to this one

    Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @karthikyarramati

    I took many factors into account, like date and hidden field, but those cannot be used in calculations (like range of date to change price).

    I have also consulted this case with our SLS Team and such task and goal will be out of the support scope. I’m afraid you have only 2 solutions here:

    1. the one I shared above (which is bad taking into account that end users will pick up most cheapest price)
    2. duplicate two times your form and change prices there. As soon you are close to the date when the price should change, replace the form shortcode on the page where the end user will sign up.

    Kind Regards,
    Kris

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Integrating a Pricing Table into WordPress Forminator Plugin’ is closed to new replies.