Question to the new ajax-plugin

4 years 6 months ago #314215 by krileon
Replied by krileon on topic Question to the new ajax-plugin
Probably due to the GET value not existing in the form post. The below should cause all fields to trigger their save behavior. It'll display all fields if no display value is supplied for example.

Display: Tab conditional show
Field: Custom > Value
Custom Value: [get_display]
Translate Custom Value: No
Operator: Is Regex
Value: /^account|\[get_display\]$/
Translate Value: No
Locations
Registration: No
Profile Edit: Yes
Profile View: No
Userlists Search: No
Userlists View: No

This for example will only show the tab if &display=account is in the URL or &display doesn't exist in the URL.

Only issue would be is if one of the tabs not displayed has a validation rule that fails it'd reject the save. I honestly don't recommend doing this though. The entire point of providing tabs is to organize your fields and prevents users from having to navigate multiple times to review and change their data.


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.

4 years 6 months ago - 4 years 6 months ago #314221 by ericmuc
Replied by ericmuc on topic Question to the new ajax-plugin
I managed it with:
showing in both profile edits in source all data (so saving is working), but browser view shows only the desired data regarding conditioned by the url and undesired are hidden by css.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.748 seconds

Facebook Twitter LinkedIn