×

Error

Please login first

table field in CB

11 years 10 months ago #205182 by jph34
table field in CB was created by jph34
Hello,

I want to know if it is possible that my users to directly fill a field in a table. For example in their profile, there is a field:
Services - Prices

and my users enter their services and corresponding prices. Then this list appears in a tab.
User A
Services - Prices
nails - 350 €
Hair - 100 €

User B
Services - Prices
Massage - € 150
relaxation - 50 €
massage - € 200


This is it possible in CB? IF yes How?

Thank you in advance for your help

Please Log in to join the conversation.

11 years 10 months ago #205222 by krileon
Replied by krileon on topic Re: table field in CB
Nope, I suggest creating multiple fields for them to supply this info then output the display using a delimiter field. There's ways to fake a repeating field using CB Auto Actions, but the user won't have a way to edit/delete the old entries.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

11 years 10 months ago #205295 by jph34
Replied by jph34 on topic Re: table field in CB
Ok if I understand with CB AutoActions, I can create a fake table but users can't edit or delete their entries, that's right ?

Please Log in to join the conversation.

11 years 10 months ago #205315 by krileon
Replied by krileon on topic Re: table field in CB
Sort of, you'd create a new database table to store this information. You'd then create 2 fields for the user to supply the information. Once done you'd create 2 CB Auto Actions. 1 would be a Query action and it'd take the field values after profile update and pass them to the new database table. You'd then have a Field action directly after the query action to reset those fields back to blank. This approach won't allow them to edit the values though.

Easiest approach is to just give them multiple sets of the same fields. For example create 2 fields for the 2 values say 10 times (20 fields). Then use a delimiter field and substitutions to format the output to a single field.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.206 seconds