• Resolved heldmar

    (@heldmar)


    Hi,

    I am trying to set up a form where the user can select a membership level they want to pay for and then pay using Paypal.

    I see the currency field doesn’t allow me to use a Select, so I can let the user simply select 1 out of 3 options or levels, each one with a different price so it can later be paid using Paypal.

    If I use a select field, I can’t use that for Paypal to read the amount to be charged,

    How can I resolve this?

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter heldmar

    (@heldmar)

    OK, I was able to figure this out. Here is what I did, in case anyone has the same issue at some point:

    I just created a Radio button control, with all my Membership Levels, each option has a numeric value, which is the cost. I marked this control in the options to be able to participate in calculations.

    Then, instead of having a “Currency” field, I replaced it by a “Calculation” one, which I also marked as a hidden field. In the calculation section, I simply used the variable name of the Radio button as the value (nothing else).

    This way, whatever is selected in the radio button, will have a value which will be used as a calculation for the calculation field.

    Then in the Paypal section, you can use the Custom value and link it to the “Calculation” field (it accepts either “Calculation” field or “Currency”).

    That’s it!

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @heldmar,

    You’ll need to use Select, Radio or Checkbox in such instances as you have done. Glad to hear you have managed to resolve it.

    You can always check our doc for reference:
    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/

    Best Regards,
    Nithin

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Currency (amount) selector’ is closed to new replies.