- Posts: 40
- Thank you received: 0
Commas in field value causing issues in depends on
- Laura Rey
- Topic Author
- Offline
- Senior Member
-
Less
More
9 years 10 months ago - 9 years 10 months ago #81320
by Laura Rey
Commas in field value causing issues in depends on was created by Laura Rey
If I create a custom field for an event that is a radio button group. Something like this:
first item
second item, very important
third item
Then, i create another custom field that is only displayed when the user selects "second item, very important" from the previous question.
It fails because (it seems) when the "depends on" information is stored and retrieved from the database, the data has been stored with commas as option delimiters. However, the original data in the custom field uses line breaks to delimit the options.
This causes a problem because the "depends on" option to match becomes "second item", which fails.
first item
second item, very important
third item
Then, i create another custom field that is only displayed when the user selects "second item, very important" from the previous question.
It fails because (it seems) when the "depends on" information is stored and retrieved from the database, the data has been stored with commas as option delimiters. However, the original data in the custom field uses line breaks to delimit the options.
This causes a problem because the "depends on" option to match becomes "second item", which fails.
Last edit: 9 years 10 months ago by Laura Rey.
Please Log in or Create an account to join the conversation.
- James Riley
-
- Offline
- Platinum Member
-
9 years 10 months ago - 9 years 10 months ago #81323
by James Riley
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Replied by James Riley on topic Commas in field value causing issues in depends on
I noticed the same thing about a month ago. Tuan said that he is hoping to fix this in v 2.5.0 (see:
joomdonation.com/forum/events-booking-ge...nt-fields.html#78790
)
I ended up replacing my comma with other characters as a work-around for now. (eg: use "second item (very important)" or "second item -- very important").
I ended up replacing my comma with other characters as a work-around for now. (eg: use "second item (very important)" or "second item -- very important").
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Last edit: 9 years 10 months ago by James Riley. Reason: typo correction
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
9 years 10 months ago #81377
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Commas in field value causing issues in depends on
Yes. I am planning to release 2.5.0 within this week which will fix the issue. You can download version 2.5.0 on Monday next week and it will work well
If you are in rush, please send me an email to tuanpn@joomdonation.com and I will send you the current version 2.5.0 (which was tested but I want to add some other minor improvements before making it public release)
Tuan
If you are in rush, please send me an email to tuanpn@joomdonation.com and I will send you the current version 2.5.0 (which was tested but I want to add some other minor improvements before making it public release)
Tuan
The following user(s) said Thank You: Laura Rey
Please Log in or Create an account to join the conversation.
- Laura Rey
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 40
- Thank you received: 0
9 years 10 months ago #81399
by Laura Rey
Replied by Laura Rey on topic Commas in field value causing issues in depends on
Unfortunately, my client's text needs commas to make sense. I even replaced them with sub-scripted apostrophes.
Please Log in or Create an account to join the conversation.
- Laura Rey
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 40
- Thank you received: 0
9 years 10 months ago #81400
by Laura Rey
Replied by Laura Rey on topic Commas in field value causing issues in depends on
Tuan,
Thank you for your quick response. I'll wait until the release is available on Monday.
Merci Beaucoup,
Laura
Thank you for your quick response. I'll wait until the release is available on Monday.
Merci Beaucoup,
Laura
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
9 years 10 months ago #81448
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Commas in field value causing issues in depends on
OK Laura.
Please Log in or Create an account to join the conversation.
- Laura Rey
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 40
- Thank you received: 0
9 years 10 months ago #81609
by Laura Rey
Replied by Laura Rey on topic Commas in field value causing issues in depends on
What version number will it be? (So I can pass on to someone to install it while I'm out of the office.)
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
9 years 10 months ago #81610
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Commas in field value causing issues in depends on
It will be 2.5.0. We are now working on final testing. Should be released in one or two days
Tuan
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 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.