Automatically check recurring?

  • jaxweb
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 7 months ago - 12 years 7 months ago #11058 by jaxweb
Automatically check recurring? was created by jaxweb
I have joomla 1.5.23
joomdonation 2.8.1

I am trying to make the recurring radio button default checked in the frontend form. I saw this thread - joomdonation.com/index.php?option=com_ku...d=4454&catid=10#4454 but it has not helped.

Attachments:
Last edit: 12 years 7 months ago by jaxweb.

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

More
12 years 2 months ago #13897 by calebmiller
Replied by calebmiller on topic Re: Automatically check recurring?
it worked for me. you'll go to the line that says the following

$receiveUserId = JRequest::getVar('receive_user_id', 0) ;

if ($amount ==0)

$amount = '';

$rdAmount = JRequest::getFloat('rd_amount', 0, 'post');

$rTimes = JRequest::getVar('r_times', '') ;

$rFrequency = JRequest::getVar('r_frequency', '') ;

$donationType = JRequest::getVar('donation_type', 'one time') ; <
Change this to 'recurring'

if ($recurring) {

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

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