Automatically select donation amount if there is only 1 predefined value?

  • Martin Beaumont
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
1 year 5 months ago #159105 by Martin Beaumont
Hi there Mr Dam,

I'm setting up a new donation site, I have 3 campaigns, each with one pre-determined donation amount. Is it possible to get the Amount 'value' automatically selected when the page loads?  That way I don't have to rely on donors missing this field.

Secondly is it possible to edit the FormErrorContent (pop up error messages) - I wish to adjust "Please choose from a pre-defined amount or enter your own donation amount" 

Many thanks,

 

 
  • Please Log in or Create an account to join the conversation.

    More
    1 year 5 months ago #159119 by Mr. Dam
    Hi Martin,
    If you want one pre-defined amount is selected, you just need to add "[c]" at the end of amount.
    For example
    100
    200[c]
    300
    Then, 200 will be default selected amount.
    By the way, you can use Translation tool at Backend of Joom Donation to change value of this language constant:
    JD_AMOUNT_IS_REQUIRED

    Thanks
    Dam

    Please Log in or Create an account to join the conversation.

    • Martin Beaumont
    • Topic Author
    • Offline
    • Senior Member
    • Senior Member
    More
    1 year 5 months ago #159141 by Martin Beaumont
    Thanks Dam - worked perfectly!

    As for adjusting the language string, thanks that should be a quick adjustment to make.

    As always appreciate your support.
    Martin

    Please Log in or Create an account to join the conversation.

    More
    1 year 5 months ago #159145 by Mr. Dam
    You're welcome, Martin

    Please Log in or Create an account to join the conversation.

    Moderators: Mr. DamDũng Nguyễn Việt