- Posts: 29
- Thank you received: 0
Questions about Payment Form extension
How does the "dependent" option work?
- Daryl Rose
- Topic Author
- Offline
- Junior Member
-
Less
More
10 years 2 months ago #55625
by Daryl Rose
How does the "dependent" option work? was created by Daryl Rose
I have a field that I want to depend on another field. Both are text fields. When I select "dependent", I only have two options, one is of a multi-radio button section and the other is of an amount field. Can I not have one text box depend on another?
Thanks
Daryl
Thanks
Daryl
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
10 years 2 months ago #55662
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How does the "dependent" option work?
Hi
No, you cannot have a textbox depend on other textbox, it is not supported. To understand how custom fields dependency work, you can look at the instructions at the other forum post joomdonation.com/forum/events-booking-ge...om-fields.html#35659
Tuan
No, you cannot have a textbox depend on other textbox, it is not supported. To understand how custom fields dependency work, you can look at the instructions at the other forum post joomdonation.com/forum/events-booking-ge...om-fields.html#35659
Tuan
Please Log in or Create an account to join the conversation.
- Daryl Rose
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 29
- Thank you received: 0
10 years 2 months ago #55709
by Daryl Rose
Replied by Daryl Rose on topic How does the "dependent" option work?
Tuan,
How about a message field? Can I have a message field depend on a radio button?
I have a section with five radio buttons setup. If the user selects a certain button, then I want the message field and textarea to appear. The textarea appears just fine, but the message field is always there. It will not hide like the textarea field does.
Thanks
Daryl
How about a message field? Can I have a message field depend on a radio button?
I have a section with five radio buttons setup. If the user selects a certain button, then I want the message field and textarea to appear. The textarea appears just fine, but the message field is always there. It will not hide like the textarea field does.
Thanks
Daryl
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
10 years 2 months ago #55734
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How does the "dependent" option work?
We don't have support for Message custom field type by default. Could you please try to get this file, unzip it, upload to administrator\components\com_pmform\libraries\osf\form\field folder and try again ?
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- Daryl Rose
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 29
- Thank you received: 0
10 years 2 months ago #55740
by Daryl Rose
Replied by Daryl Rose on topic How does the "dependent" option work?
Great!! Thank you very much. That works exactly as I was hoping.
I have a follow up. I would like to increase the font size on said message. I inserted "h1" in the CSS class field, but the font size does not change. I'm not very knowledgeable with CSS, so could you advice me on how I would increase the font size?
Thank you.
Daryl
I have a follow up. I would like to increase the font size on said message. I inserted "h1" in the CSS class field, but the font size does not change. I'm not very knowledgeable with CSS, so could you advice me on how I would increase the font size?
Thank you.
Daryl
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
10 years 2 months ago #55773
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How does the "dependent" option work?
Hi Daryl
If you look at the output of the message field, you will see that it has a css class eb-message. So maybe you can add some css code to the file components/com_pmform/assets/css/style.css to control the font-size, something like:
div.eb-message
{
font-size : 14px;
}
Something like that should work
Tuan
If you look at the output of the message field, you will see that it has a css class eb-message. So maybe you can add some css code to the file components/com_pmform/assets/css/style.css to control the font-size, something like:
div.eb-message
{
font-size : 14px;
}
Something like that should work
Tuan
The following user(s) said Thank You: Daryl Rose
Please Log in or Create an account to join the conversation.
- Daryl Rose
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 29
- Thank you received: 0
10 years 2 months ago #55790
by Daryl Rose
Replied by Daryl Rose on topic How does the "dependent" option work?
Thank Tuan, that works great.
Daryl
Daryl
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
10 years 2 months ago #55796
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How does the "dependent" option work?
Great. Thanks for confirming Daryl.
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- thepiston
- Offline
- Premium Member
-
Less
More
- Posts: 150
- Thank you received: 5
9 years 8 months ago #64973
by thepiston
Replied by thepiston on topic How does the "dependent" option work?
the new message.php works well, please add to permanent code
.

Please Log in or Create an account to join the conversation.
- thepiston
- Offline
- Premium Member
-
Less
More
- Posts: 150
- Thank you received: 5
9 years 8 months ago #64981
by thepiston
Replied by thepiston on topic How does the "dependent" option work?
I just realized that everything below the message that is displayed when another field shows it does not show unless that message field shows. So, I think there's more work to be done.
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 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.