Questions about Payment Form extension

Style Custom Field Radio Buttons

  • MyWorld
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
13 years 7 months ago #10437 by MyWorld
Style Custom Field Radio Buttons was created by MyWorld
I'm trying to style the layout of the radio button in my custom field. They are laid out horizontally, how can I list them vertically and bold the label? I can't seem to figure it out.

Thanks!!

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

  • MyWorld
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
13 years 7 months ago #10582 by MyWorld
Replied by MyWorld on topic Re: Style Custom Field Radio List
So to clarify, I entered the list as per below so that the list will look as per the attached pic:

This is the first option for the user to choose<br />
This is the second option for the user to choose<br />
This is the third option for the user to choose

The problem is that the items that have a <br /> at the end, when I get to paypal, the amount is $0 instead of the amount assigned to each item. The last item on the list works fine.

So how do I get my list to look like the attached and have the amount assigned to each item sent to paypal?

Thanks!!
Attachments:

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

More
13 years 7 months ago #10602 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Style Custom Field Radio List
Hi

As replied on support ticket, I modified the code in the component alitle to make it display like you want. It all works fine now (tested it) . Please go to your site to check it !

Regards,

Tuan

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

  • MyWorld
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
13 years 6 months ago #10614 by MyWorld
Replied by MyWorld on topic Re: Style Custom Field Radio Buttons
Hi Tuan,

I tested the form and it works perfect with paypal! I hope this can be included in the next version - in case I need to use it again I don't have to bother you.

Just one more question.
When I go to paypal and I click the browser back button - to go back to the site, then on the form's back button - to go to the original page that I was on, why does it not take me back to the original page?

What I mean is say my page is called www.mywebsite.com/make-a-payment.html when I click the back button it takes me to www.mywebsite.com/index.php .

I think it would be better that it takes the user back to the original page in case the user wants to read the instructions again. Because when they are on www.mywebsite.com/index.php all they see is the form that is embeded into the article. And, once they are on that page, there is no option to go to the original page, because there is only a "Next" button.

Thanks!!

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

More
13 years 6 months ago #10620 by trustinghim
Replied by trustinghim on topic Re: Style Custom Field Radio Buttons
Hello,

I, too, am interested in being able to do a custom layout for the form. That would include the ability to control the order, size of boxes, position of radio buttons (horizontal, vertical, indented, etc.), additional text inserted between form items, even font colors of individual items. Yes, that's a tall order; obviously not something we could expect you to do for us.

I'm comfortable messing with the html code to suit my needs. I just need to know if there's a way to access and set the html code for the form. (Another form component I use uses a "Smarty" template that generates the standard layout, but also allows us to make changes with Smarty tags and/or html tags. Unfortunately, it doesn't have a payment component with it.)

I've been using JoomDonation and it works great, but not being able to customize the layout is a big concern for me.

Thanks,
Teresa

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

More
13 years 6 months ago #10634 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Style Custom Field Radio Buttons
Hi

Infact, Payment Form allows you to make custom layout (if you know HTML code + alitle PHP), however, this feature is still "hidden" (I haven't had time to write a tutorial document yet) . Will try to spend sometime next week to write it up !

Regards,

Tuan

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

More
13 years 6 months ago #10782 by trustinghim
Replied by trustinghim on topic Re: Style Custom Field Radio Buttons
Is the tutorial available yet? I don't need great detail ... I already have the form HTML code, but don't know where to put it.

Thanks,
Teresa

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

  • MyWorld
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
13 years 6 months ago #10928 by MyWorld
Replied by MyWorld on topic Re: Style Custom Field Radio Buttons
I'm hoping this will be ready soon too... I'm particularly interested in this as mentioned previously:

When I go to paypal and I click the browser back button - to go back to the site, then on the form's back button - to go to the original page that I was on, why does it not take me back to the original page?

What I mean is say my page is called www.mywebsite.com/make-a-payment.html when I click the back button it takes me to www.mywebsite.com/index.php .

I think it would be better that it takes the user back to the original page in case the user wants to read the instructions again. Because when they are on www.mywebsite.com/index.php all they see is the form that is embeded into the article. And, once they are on that page, there is no option to go to the original page, because there is only a "Next" button.

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

More
13 years 3 months ago #12295 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Style Custom Field Radio List
Now, in the latest version of the extension, you don't need to use br tag to have the each option displayed in one line. You now can simply set size attribute of the field to 1 and each option will be displayed on one line .

Regards,

Tuan

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

  • MyWorld
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
12 years 9 months ago #15726 by MyWorld
Replied by MyWorld on topic Re: Style Custom Field Radio Buttons
Payment Form: 1.6
Joomla 2.5

I don't see the "size attribute" field that you are referring to make each radio button go on its own line.

Can this not be done in version 1.6?

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

Moderators: Tuan Pham Ngoc