Home › Toolset Professional Support › [Resolved] Conditional Field Group – It worked until we upgraded something
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Our next available supporter will start replying to tickets in about 0.92 hours from now. Thank you for your understanding.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Kolkata (GMT+05:30)
Tagged: Content-submission forms, Toolset Forms
Related documentation:
This topic contains 7 replies, has 2 voices.
Last updated by Minesh 5 years, 4 months ago.
Assisted by: Minesh.
I am trying to: Hide the submit button until one of two fields has values
Here is the form code (It worked up until a few days ago)
[credform class='cred-form cred-keep-original'] [cred_field field='form_messages' value='' class='alert alert-warning'] <div class="form-group"> <label>Buyer</label> [cred_field field='_wpcf_belongs_buyer_id' value='' order='title' ordering='asc' select_text='--- not set ---' class='form-control'] </div> <div class="form-group"> <label>Seller</label> [cred_field field='_wpcf_belongs_seller_id' value='' order='title' ordering='asc' select_text='--- not set ---' urlparam='' class='form-control'] </div> <div class="form-group"> [cred_field field='post_content' post='transaction' value='' urlparam='' placeholder='Description' class='form-control'] </div> [cred_show_group if="( $(_wpcf_belongs_seller_id) ne '' ) OR ( $(_wpcf_belongs_buyer_id) ne '' )" mode='none'] [cred_field field='form_submit' value='Submit' urlparam='' class='btn btn-primary btn-lg'] [/cred_show_group] [/credform]
Also, I did deactivate plugins to see if that was the cause.
Link to a page where the issue can be seen: Need to send you credentials in order to show the page.
I expected to see: Based on the cred_show_group at the end of the form, we were hiding the submit button unless one or more of the top two fields had values. Then it stopped working for some reason.
Instead, I got: the button remains hidden regardless of the value of the two fields.
Hello. Thank you for contacting the Toolset support.
First of all - After checking to debug information you shared with us, I found that you are using really old outdated Toolset plugins. We always recommend running your site with latest stable release plugin version.
I see you are using the legacy relationship to check the parent field but that is not supported with Types 3.X as we implemented the new relationship:
Please check the following blog:
=> https://toolset.com/2018/05/toolset-post-relationships-release/
=> https://toolset.com/2018/05/when-if-to-migrate-relationships-in-old-toolset-sites/
*** Please make a FULL BACKUP of your database and website.***
First of all, I would advise you to please try to update the Toolset plugins manually from the plugins page:
- Deactivate and Delete all Toolset plugins from the plugins page
- Download the latest Toolset Types plugins you require from your accounts page:
=> https://toolset.com/account/downloads/
- Upload and activate first Types plugin and then you are free to install and activate all other Toolset plugins.
Once you update ALL Toolset plugins, did you migrate the old relationship to new relationship?
=> https://toolset.com/2018/05/when-if-to-migrate-relationships-in-old-toolset-sites/
Sorry about that. I had upgraded plugins but later copied production site back over staging. and, of course, the plugins reverted.
I believe I have the updates and conversion accomplished. Here is the same form with new "buyer" and "seller" fields and the conditional group at the bottom. The conditional is still not working. I have commented the old syntax for reference.
FYI, the edit version of the form has all the old syntax and that is working, so must have something to do with value entered in the "buyer" or "seller" fields for a new record where the buyer/seller are being passed by URL parameter.
I will add new debug info in a separate post. Thanks!
[credform class='cred-form cred-keep-original'] [cred_field field='form_messages' value='' class='alert alert-warning'] <div class="form-group"> <label>Buyer</label> [cred_field field='@buyer_transaction.parent' class='form-control' select_text='--- not set ---' urlparam='parent_buyer_id'] <!-- [cred_field field='_wpcf_belongs_buyer_id' value='' order='title' ordering='asc' select_text='--- not set ---' class='form-control'] --> </div> <div class="form-group"> <label>Seller</label> [cred_field field='@seller_transaction.parent' class='form-control' output='bootstrap' select_text='--- not set ---' urlparam='parent_seller_id'] <!-- [cred_field field='_wpcf_belongs_seller_id' value='' order='title' ordering='asc' select_text='--- not set ---' urlparam='sell' class='form-control'] --> </div> <div class="form-group"> [cred_field field='post_content' post='transaction' value='' urlparam='' placeholder='Description' class='form-control'] </div> [cred_show_group if="($(_wpcf_belongs_seller_id) ne '' ) OR ($(_wpcf_belongs_buyer_id) ne '' )" mode='none'] [cred_field field='form_submit' value='Submit' urlparam='' class='btn btn-primary btn-lg'] [/cred_show_group] [/credform]
Debug Info for previous post:
{"core":{"Wordpress":{"Multisite":"No","SiteURL":"https:\/\/mrushford.staging.wpengine.com","HomeURL":"http:\/\/mrushford.staging.wpengine.com","Version":"5.1.1","PermalinkStructure":"\/%postname%\/","PostTypes":"post, page, attachment, revision, nav_menu_item, custom_css, customize_changeset, oembed_cache, user_request, wp_block, cred-form, cred-user-form, wp-types-group, wp-types-user-group, wp-types-term-group, wpcf7_contact_form, amn_exact-metrics, view, view-template, avada_portfolio, avada_faq, avada_page_options, seller, transaction, transaction-file, buyer, cred_rel_form, fusion_template, fusion_element","PostSatus":"publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, hidden"},"Server":{"jQueryVersion":"1.12.4","PHPVersion":"7.2.18-1+ubuntu18.04.1+deb.sury.org+1","MySQLVersion":"5.7.26","ServerSoftware":"Apache"},"PHP":{"MemoryLimit":"512M","UploadMax":"50M","PostMax":"100M","TimeLimit":"3600","MaxInputVars":"1000"}},"plugins":{"active_plugins":{"captcha\/captcha.php":{"Name":"Captcha","PluginURI":"https:\/\/wordpress.org\/plugins\/captcha\/","Version":"4.4.5","Author":"simplywordpress","AuthorURI":"https:\/\/wordpress.org\/plugins\/captcha\/","TextDomain":"captcha","DomainPath":"\/languages","Network":false,"Title":"Captcha","AuthorName":"simplywordpress"},"classic-editor\/classic-editor.php":{"Name":"Classic Editor","PluginURI":"https:\/\/wordpress.org\/plugins\/classic-editor\/","Version":"1.5","Author":"WordPress Contributors","AuthorURI":"https:\/\/github.com\/WordPress\/classic-editor\/","TextDomain":"classic-editor","DomainPath":"\/languages","Network":false,"Title":"Classic Editor","AuthorName":"WordPress Contributors"},"contact-form-7\/wp-contact-form-7.php":{"Name":"Contact Form 7","PluginURI":"https:\/\/contactform7.com\/","Version":"5.1.3","Author":"Takayuki Miyoshi","AuthorURI":"https:\/\/ideasilo.wordpress.com\/","TextDomain":"contact-form-7","DomainPath":"\/languages\/","Network":false,"Title":"Contact Form 7","AuthorName":"Takayuki Miyoshi"},"cred-frontend-editor\/plugin.php":{"Name":"Toolset Forms","PluginURI":"https:\/\/toolset.com\/home\/toolset-components\/#cred","Version":"2.4","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"cred-frontend-editor","DomainPath":"","Network":false,"Title":"Toolset Forms","AuthorName":"OnTheGoSystems"},"fusion-builder\/fusion-builder.php":{"Name":"Fusion Builder","PluginURI":"http:\/\/www.theme-fusion.com","Version":"1.4.2","Author":"ThemeFusion","AuthorURI":"http:\/\/www.theme-fusion.com","TextDomain":"fusion-builder","DomainPath":"","Network":false,"Title":"Fusion Builder","AuthorName":"ThemeFusion"},"fusion-core\/fusion-core.php":{"Name":"Fusion Core","PluginURI":"http:\/\/theme-fusion.com","Version":"3.4.2","Author":"ThemeFusion","AuthorURI":"http:\/\/theme-fusion.com","TextDomain":"fusion-core","DomainPath":"","Network":false,"Title":"Fusion Core","AuthorName":"ThemeFusion"},"gallery-images\/gallery-images.php":{"Name":"Huge IT Image Gallery","PluginURI":"https:\/\/huge-it.com\/wordpress-gallery\/","Version":"2.2.5","Author":"Huge-IT","AuthorURI":"https:\/\/huge-it.com\/","TextDomain":"gallery-images","DomainPath":"","Network":false,"Title":"Huge IT Image Gallery","AuthorName":"Huge-IT"},"google-analytics-dashboard-for-wp\/gadwp.php":{"Name":"Google Analytics Dashboard for WP (GADWP)","PluginURI":"https:\/\/exactmetrics.com","Version":"5.3.8","Author":"ExactMetrics","AuthorURI":"https:\/\/exactmetrics.com","TextDomain":"google-analytics-dashboard-for-wp","DomainPath":"\/languages","Network":false,"Title":"Google Analytics Dashboard for WP (GADWP)","AuthorName":"ExactMetrics"},"post-types-order\/post-types-order.php":{"Name":"Post Types Order","PluginURI":"http:\/\/www.nsp-code.com","Version":"1.9.4.1","Author":"Nsp Code","AuthorURI":"http:\/\/www.nsp-code.com","TextDomain":"post-types-order","DomainPath":"\/languages\/","Network":false,"Title":"Post Types Order","AuthorName":"Nsp Code"},"redirection\/redirection.php":{"Name":"Redirection","PluginURI":"https:\/\/redirection.me\/","Version":"4.3.1","Author":"John Godley","AuthorURI":"https:\/\/johngodley.com","TextDomain":"redirection","DomainPath":"\/locale","Network":false,"Title":"Redirection","AuthorName":"John Godley"},"revslider\/revslider.php":{"Name":"Slider Revolution","PluginURI":"https:\/\/revolution.themepunch.com\/","Version":"5.4.8.3","Author":"ThemePunch","AuthorURI":"https:\/\/themepunch.com","TextDomain":"revslider","DomainPath":"","Network":false,"Title":"Slider Revolution","AuthorName":"ThemePunch"},"sucuri-scanner\/sucuri.php":{"Name":"Sucuri Security - Auditing, Malware Scanner and Hardening","PluginURI":"https:\/\/wordpress.sucuri.net\/","Version":"1.8.21","Author":"Sucuri Inc.","AuthorURI":"https:\/\/sucuri.net\/","TextDomain":"sucuri-scanner","DomainPath":"\/lang","Network":false,"Title":"Sucuri Security - Auditing, Malware Scanner and Hardening","AuthorName":"Sucuri Inc."},"toolset-advanced-export\/toolset-advanced-export.php":{"Name":"Toolset Advanced Export","PluginURI":"https:\/\/github.com\/zaantar\/toolset-advanced-export","Version":"1.0","Author":"OnTheGoSystems","AuthorURI":"http:\/\/toolset.com","TextDomain":"toolset-advanced-export","DomainPath":"\/languages","Network":false,"Title":"Toolset Advanced Export","AuthorName":"OnTheGoSystems"},"toolset-module-manager\/plugin.php":{"Name":"Toolset Module Manager","PluginURI":"https:\/\/toolset.com\/home\/toolset-components\/","Version":"1.8.6","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"toolset-module-manager","DomainPath":"","Network":false,"Title":"Toolset Module Manager","AuthorName":"OnTheGoSystems"},"types-access\/types-access.php":{"Name":"Toolset Access","PluginURI":"http:\/\/toolset.com\/home\/types-access\/?utm_source=accessplugin\u0026utm_campaign=access\u0026utm_medium=release-notes-plugins-list\u0026utm_term=Visit plugin site","Version":"2.7.5","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"types-access","DomainPath":"","Network":false,"Title":"Toolset Access","AuthorName":"OnTheGoSystems"},"types\/wpcf.php":{"Name":"Toolset Types","PluginURI":"https:\/\/toolset.com\/?utm_source=typesplugin\u0026utm_campaign=types\u0026utm_medium=plugins-list-full-version\u0026utm_term=Visit plugin site","Version":"3.3.2","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com","TextDomain":"types","DomainPath":"","Network":false,"Title":"Toolset Types","AuthorName":"OnTheGoSystems"},"wordpress-seo\/wp-seo.php":{"Name":"Yoast SEO","PluginURI":"https:\/\/yoa.st\/1uj","Version":"11.5","Author":"Team Yoast","AuthorURI":"https:\/\/yoa.st\/1uk","TextDomain":"wordpress-seo","DomainPath":"\/languages\/","Network":false,"Title":"Yoast SEO","AuthorName":"Team Yoast"},"wp-views\/wp-views.php":{"Name":"Toolset Views","PluginURI":"https:\/\/toolset.com\/?utm_source=viewsplugin\u0026utm_campaign=views\u0026utm_medium=plugins-list-full-version\u0026utm_term=Visit plugin site","Version":"2.8.3","Author":"OnTheGoSystems","AuthorURI":"https:\/\/toolset.com","TextDomain":"wp-views","DomainPath":"","Network":false,"Title":"Toolset Views","AuthorName":"OnTheGoSystems"}},"mu_plugins":{"slt-force-strong-passwords.php":{"Name":"Force Strong Passwords - WPE Edition","PluginURI":"https:\/\/github.com\/boogah\/Force-Strong-Passwords","Version":"1.6.4","Description":"Forces users to set either a strong or medium strength password.","Author":"Jason Cosper","AuthorURI":"http:\/\/jasoncosper.com","TextDomain":"","DomainPath":"","Network":false,"Title":"Force Strong Passwords - WPE Edition","AuthorName":"Jason Cosper"},"stop-long-comments.php":{"Name":"Stop long comments","PluginURI":"","Version":"0.0.4","Description":"A security precaution to stop comments that are too long.","Author":"WPEngine","AuthorURI":"wpengine.com","TextDomain":"","DomainPath":"","Network":false,"Title":"Stop long comments","AuthorName":"WPEngine"},"mu-plugin.php":{"Name":"WP Engine System","PluginURI":"http:\/\/wpengine.com\/plugins","Version":"3.2.1","Description":"WP Engine-specific services and options","Author":"WP Engine","AuthorURI":"","TextDomain":"","DomainPath":"","Network":false,"Title":"WP Engine System","AuthorName":"WP Engine"}},"dropins":{"advanced-cache.php":{"Name":"advanced-cache.php","PluginURI":"","Version":"","Description":"","Author":"","AuthorURI":"","TextDomain":"","DomainPath":"","Network":false,"Title":"","AuthorName":""}}},"theme":{"Name":"Avada Child","ThemeURI":null,"Author":"\u003Ca href=\u0022https:\/\/theme-fusion.com\u0022\u003EThemeFusion\u003C\/a\u003E","AuthorURI":null,"Template":"Avada","Version":"1.0.0","TextDomain":null,"DomainPath":null},"extra-debug":{"access":{"rules":{"types":{"edit_page":{"roles":[],"users":[],"types":{"page":1}},"read_page":{"roles":[],"users":[],"types":{"page":1}},"delete_page":{"roles":[],"users":[],"types":{"page":1}},"edit_pages":{"roles":[],"users":[],"types":{"page":1}},"edit_others_pages":{"roles":[],"users":[],"types":{"page":1}},"publish_pages":{"roles":[],"users":[],"types":{"page":1}},"read_private_pages":{"roles":[],"users":[],"types":{"page":1}},"delete_pages":{"roles":[],"users":[],"types":{"page":1}},"delete_private_pages":{"roles":[],"users":[],"types":{"page":1}},"delete_published_pages":{"roles":[],"users":[],"types":{"page":1}},"delete_others_pages":{"roles":[],"users":[],"types":{"page":1}},"edit_private_pages":{"roles":[],"users":[],"types":{"page":1}},"edit_published_pages":{"roles":[],"users":[],"types":{"page":1}},"edit_seller":{"roles":["administrator"],"users":[],"types":{"seller":1}},"read_seller":{"roles":["administrator"],"users":[],"types":{"seller":1}},"delete_seller":{"roles":["administrator"],"users":[],"types":{"seller":1}},"edit_sellers":{"roles":["administrator"],"users":[],"types":{"seller":1}},"edit_others_sellers":{"roles":["administrator"],"users":[],"types":{"seller":1}},"publish_sellers":{"roles":["administrator"],"users":[],"types":{"seller":1}},"read_private_sellers":{"roles":["administrator"],"users":[],"types":{"seller":1}},"delete_sellers":{"roles":["administrator"],"users":[],"types":{"seller":1}},"delete_private_sellers":{"roles":["administrator"],"users":[],"types":{"seller":1}},"delete_published_sellers":{"roles":["administrator"],"users":[],"types":{"seller":1}},"delete_others_sellers":{"roles":["administrator"],"users":[],"types":{"seller":1}},"edit_private_sellers":{"roles":["administrator"],"users":[],"types":{"seller":1}},"edit_published_sellers":{"roles":["administrator"],"users":[],"types":{"seller":1}},"edit_transaction-note":{"roles":["administrator"],"users":[],"types":{"transaction":1}},"read_transaction-note":{"roles":["administrator"],"users":[],"types":{"transaction":1}},"delete_transaction-note":{"roles":["administrator"],"users":[],"types":{"transaction":1}},"edit_transaction-notes":{"roles":["administrator"],"users":[],"types":{"transaction":1}},"edit_others_transaction-notes":{"roles":["administrator"],"users":[],"types":{"transaction":1}},"publish_transaction-notes":{"roles":["administrator"],"users":[],"types":{"transaction":1}},"read_private_transaction-notes":{"roles":["administrator"],"users":[],"types":{"transaction":1}},"delete_transaction-notes":{"roles":["administrator"],"users":[],"types":{"transaction":1}},"delete_private_transaction-notes":{"roles":["administrator"],"users":[],"types":{"transaction":1}},"delete_published_transaction-notes":{"roles":["administrator"],"users":[],"types":{"transaction":1}},"delete_others_transaction-notes":{"roles":["administrator"],"users":[],"types":{"transaction":1}},"edit_private_transaction-notes":{"roles":["administrator"],"users":[],"types":{"transaction":1}},"edit_published_transaction-notes":{"roles":["administrator"],"users":[],"types":{"transaction":1}},"edit_transaction-file":{"roles":["administrator"],"users":[],"types":{"transaction-file":1}},"read_transaction-file":{"roles":["administrator"],"users":[],"types":{"transaction-file":1}},"delete_transaction-file":{"roles":["administrator"],"users":[],"types":{"transaction-file":1}},"edit_transaction-files":{"roles":["administrator"],"users":[],"types":{"transaction-file":1}},"edit_others_transaction-files":{"roles":["administrator"],"users":[],"types":{"transaction-file":1}},"publish_transaction-files":{"roles":["administrator"],"users":[],"types":{"transaction-file":1}},"read_private_transaction-files":{"roles":["administrator"],"users":[],"types":{"transaction-file":1}},"delete_transaction-files":{"roles":["administrator"],"users":[],"types":{"transaction-file":1}},"delete_private_transaction-files":{"roles":["administrator"],"users":[],"types":{"transaction-file":1}},"delete_published_transaction-files":{"roles":["administrator"],"users":[],"types":{"transaction-file":1}},"delete_others_transaction-files":{"roles":["administrator"],"users":[],"types":{"transaction-file":1}},"edit_private_transaction-files":{"roles":["administrator"],"users":[],"types":{"transaction-file":1}},"edit_published_transaction-files":{"roles":["administrator"],"users":[],"types":{"transaction-file":1}},"edit_buyer":{"roles":["administrator"],"users":[],"types":{"buyer":1}},"read_buyer":{"roles":["administrator"],"users":[],"types":{"buyer":1}},"delete_buyer":{"roles":["administrator"],"users":[],"types":{"buyer":1}},"edit_buyers":{"roles":["administrator"],"users":[],"types":{"buyer":1}},"edit_others_buyers":{"roles":["administrator"],"users":[],"types":{"buyer":1}},"publish_buyers":{"roles":["administrator"],"users":[],"types":{"buyer":1}},"read_private_buyers":{"roles":["administrator"],"users":[],"types":{"buyer":1}},"delete_buyers":{"roles":["administrator"],"users":[],"types":{"buyer":1}},"delete_private_buyers":{"roles":["administrator"],"users":[],"types":{"buyer":1}},"delete_published_buyers":{"roles":["administrator"],"users":[],"types":{"buyer":1}},"delete_others_buyers":{"roles":["administrator"],"users":[],"types":{"buyer":1}},"edit_private_buyers":{"roles":["administrator"],"users":[],"types":{"buyer":1}},"edit_published_buyers":{"roles":["administrator"],"users":[],"types":{"buyer":1}}}},"settings":{"types":{"seller":{"mode":"permissions","permissions":{"publish":{"roles":["administrator"]},"delete_any":{"roles":["administrator"]},"edit_any":{"roles":["administrator"]},"delete_own":{"roles":["administrator"]},"edit_own":{"roles":["administrator"]},"read_private":{"roles":["administrator"]},"read":{"roles":["administrator"]}}},"transaction":{"mode":"permissions","permissions":{"publish":{"roles":["administrator"]},"delete_any":{"roles":["administrator"]},"edit_any":{"roles":["administrator"]},"delete_own":{"roles":["administrator"]},"edit_own":{"roles":["administrator"]},"read_private":{"roles":["administrator"]},"read":{"roles":["administrator"]}}},"transaction-file":{"mode":"permissions","permissions":{"publish":{"roles":["administrator"]},"delete_any":{"roles":["administrator"]},"edit_any":{"roles":["administrator"]},"delete_own":{"roles":["administrator"]},"edit_own":{"roles":["administrator"]},"read_private":{"roles":["administrator"]},"read":{"roles":["administrator"]}}},"buyer":{"mode":"permissions","permissions":{"publish":{"roles":["administrator"]},"delete_any":{"roles":["administrator"]},"edit_any":{"roles":["administrator"]},"delete_own":{"roles":["administrator"]},"edit_own":{"roles":["administrator"]},"read_private":{"roles":["administrator"]},"read":{"roles":["administrator"]}}},"page":{"mode":"permissions","permissions":{"publish":{"roles":[]},"delete_any":{"roles":[]},"edit_any":{"roles":[]},"delete_own":{"roles":[]},"edit_own":{"roles":[]},"read":{"roles":[]}}},"wpcf-custom-group-3262a11a08fd7b47864d431d6f5f0c17":{"permissions":{"read":{"roles":["administrator"]}},"mode":"not_managed","title":"Transaction Log"},"_custom_read_errors":{"wpcf-custom-group-3262a11a08fd7b47864d431d6f5f0c17":{"permissions":{"read":{"everyone":"error_404"}}}}},"tax":[],"third_party":{"__CRED_CRED":{"__CRED_CRED_GROUP":{"permissions":{"delete_other_posts_with_cred":{"roles":["administrator"]},"delete_own_posts_with_cred":{"roles":["administrator"]},"create_posts_with_cred_3037":{"roles":["administrator"]},"create_posts_with_cred_3039":{"roles":["administrator"]},"edit_other_posts_with_cred_3038":{"roles":["administrator"]},"edit_own_posts_with_cred_3038":{"roles":["administrator"]},"create_posts_with_cred_3040":{"roles":["administrator"]},"edit_other_posts_with_cred_3034":{"roles":["administrator"]},"edit_own_posts_with_cred_3034":{"roles":["administrator"]},"create_posts_with_cred_3036":{"roles":["administrator"]},"edit_other_posts_with_cred_3035":{"roles":["administrator"]},"edit_own_posts_with_cred_3035":{"roles":["administrator"]}},"mode":"permissions"}}}}},"types":{"add_resized_images_to_library":0,"register_translations_on_import":1,"images_remote":0,"images_remote_cache_time":"36","help_box":"by_types","hide_standard_custom_fields_metabox":"show","postmeta_unfiltered_html":"on","usermeta_unfiltered_html":"on"},"CRED":{"wizard":1,"cache_notice":1,"export_settings":1,"export_custom_fields":1,"autogeneration_email":{"subject":"Welcome new user","body":"[username]Your username is: %cuf_username%[\/username]\\n[nickname]Your nickname is: %cuf_nickname%[\/nickname]\\n[password]Your password is: %cuf_password%[\/password]"},"dont_load_cred_css":1,"enable_post_expiration":0},"views":{"views_template_loop_blog":0,"wpv_bootstrap_version":1,"wpv_custom_conditional_functions":[],"wpv_custom_inner_shortcodes":[],"wpv_debug_mode":0,"wpv_debug_mode_type":"full","wpv_map_plugin":0,"wpv_show_hidden_fields":"","wpv_saved_auto_detected_framework":"","wpv_codemirror_autoresize":1,"wpv_enable_pagination_manage_history":true,"wpv_enable_parametric_search_manage_history":true,"support_spaces_in_meta_filters":0,"allow_views_wp_widgets_in_elementor":0,"default_user_editor":"basic","manage_meta_transient_method":"cron","views_template_for_publication":0,"views_template_for_seller":"3047","views_template_for_service":0,"views_template_for_stats-report":0,"views_template_for_property-event":0,"views_template_for_transaction":"3045","views_template_for_avada_portfolio":3540},"installer":{"version":"1.9.4","repositories":{"wpml":{"api-url":"https:\/\/api.wpml.org\/","products":"http:\/\/d2salfytceyqoe.cloudfront.net\/wpml33-products.json","subscription":""},"toolset":{"api-url":"https:\/\/api.toolset.com\/","products":"http:\/\/d7j863fr5jhrr.cloudfront.net\/toolset33-products.json","subscription":{"key":"kEkQvoTkyD","data":{"subscription_type":5740,"expires":null,"status":"4"},"registered_by":8}}},"instances":{"\/nas\/content\/staging\/mrushford\/wp-content\/plugins\/types\/vendor\/otgs\/installer\/installer.php":{"bootfile":"\/nas\/content\/staging\/mrushford\/wp-content\/plugins\/types\/vendor\/otgs\/installer\/installer.php","version":"1.9.4","args":{"plugins_install_tab":"1","repositories_include":["toolset","wpml"]},"delegated":true}}}}}
Can you please share the problem URL where I can see the form as well as access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
Can you please check now: I've adjusted the [cred_show_group] shortcode as given under:
[cred_show_group if="( $(@buyer_transaction.parent) ne '' ) OR ($(@seller_transaction.parent) ne '' )" mode="fade-slide"] [cred_field field='form_submit' value='Submit' urlparam='' class='btn btn-primary btn-lg'] [/cred_show_group]
In addition to that, I've also added the attribute use_select2="never" to both of your parent field:
[cred_field field='@buyer_transaction.parent' class='form-control' select_text='--- not set ---' urlparam='parent_buyer_id' use_select2="never"] [cred_field field='@seller_transaction.parent' class='form-control' output='bootstrap' select_text='--- not set ---' urlparam='parent_seller_id' use_select2="never"]
I can see not - the conditional shortcode is working.
hidden link
Thank you. This appears to be working now.
I'm not exactly clear on when to use the use_select2="never"/"always"
Is it just that when we use the 3.0+ code we should drop it?
You should keep using the normal way but you need to add the use_select2="never" when you want to use the select2 value with [cred_show_group] shortcode.