Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Matt Cromwell

    (@webdevmattcrom)

    Hi there,

    I don’t totally understand the question. Can you provide a screenshot or example of what you’re looking for?

    Thread Starter zosojp

    (@zosojp)

    I set 5 levels on a multi-level donation.
    For example, could I put level-1 button in another place of my page?
    Is it possible with a shortcode?

    Plugin Contributor Matt Cromwell

    (@webdevmattcrom)

    No, that’s not really possible. What I would suggest is perhaps you remove the multi-level and set only a “Custom Amount” and then you could implement some just Javascript to update the Amount field via click on a div of your choice. But this is all custom development and outside the realm of our support.

    Thanks!

    Thread Starter zosojp

    (@zosojp)

    Good idea!
    I setted Donation Option into “set donation”, and custom amount “yes”.

    I tried this:
    http://jsfiddle.net/mtashev/J7m7m/12/

    and I modified it in this way:

    <input type=”button” id =’5′ onclick=”change()” value=”5 euros”>
    <input type=”button” id =’10’ class=”second_value” value=”10 euros”>

    <input class=”give-text-input” id=”give-amount” name=”give-amount” type=”tel” placeholder=”” value=”5,00″ required autocomplete=”off”>

    the script:
    <script type=’text/javascript’>
    $(‘#5’).click(function(){
    $(‘#give-amount’).val(‘5,00’);
    });

    $(‘#10’).click(function(){
    $(‘#give-amount’).val(‘10,00’);
    })
    </script>

    It works fine! I also tried it in many other site…
    but here It doesn’t work!
    in your opinion why?

    Thread Starter zosojp

    (@zosojp)

    I supposed there is a javascript that change value in “Donation Total” depending on value of input with id=”give-amount”.
    So, It should be enough change this value.
    is it right?

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

The topic ‘multi level donation button’ is closed to new replies.