Skip to Content Skip to Menu

Clearing the first occurrence of an optional field group

  • autobahn
  • autobahn
  • OFFLINE
  • Posts: 202
  • Thanks: 38
  • Karma: 4
3 years 8 months ago - 3 years 8 months ago #323553 by autobahn
I have an optional field group made up of thirteen fields, none of which are required. If I complete more than one occurrence of the field group then a red 'delete' icon appears to the right of each field group allowing me to remove it. However, if there is only one occurrence completed there is no red 'delete' icon to allow it subsequently (say on updating a profile) to be deleted in the same way.

Is the only way to remove a single completed field group a case of manually clearing each field individually? Our users are lazy, and usually only clear the first field in the group leaving all the other fields with values.

Thank you
Last edit: 3 years 8 months ago by autobahn.

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

  • krileon
  • krileon
  • OFFLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
3 years 8 months ago #323560 by krileon
You cannot remove the first row of a field group. That will be available likely in CB 3.x where we'll be able to work better with JavaScript templates in AlpineJS as right now that first row is serving as the template for the repeat behavior and without it there would not be a way to add new rows.


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 or Create an account to join the conversation.

  • autobahn
  • autobahn
  • OFFLINE
  • Posts: 202
  • Thanks: 38
  • Karma: 4
3 years 8 months ago #323565 by autobahn
Fair enough :) I'll just have to find a way to encourage our users to do better housekeeping :lol:

Thank you

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

Moderators: beatnantkrileon
Powered by Kunena Forum