- Posts: 48
- Thank you received: 2
Automatically select donation amount if there is only 1 predefined value?
- Martin Beaumont
- Topic Author
- Offline
- Senior Member
Less
More
1 year 5 months ago #159105
by Martin Beaumont
Automatically select donation amount if there is only 1 predefined value? was created 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,
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.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12815
- Thank you received: 1659
1 year 5 months ago #159119
by Mr. Dam
Replied by Mr. Dam on topic Automatically select donation amount if there is only 1 predefined value?
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
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
Less
More
- Posts: 48
- Thank you received: 2
1 year 5 months ago #159141
by Martin Beaumont
Replied by Martin Beaumont on topic Automatically select donation amount if there is only 1 predefined value?
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
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.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12815
- Thank you received: 1659
1 year 5 months ago #159145
by Mr. Dam
Replied by Mr. Dam on topic Automatically select donation amount if there is only 1 predefined value?
You're welcome, Martin
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Dũng Nguyễn Việt
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.