CRED is a WordPress plugin that lets you easily build front-end forms for creating and editing content and users.
CRED User Guides include detailed documentation on creating forms, including related fields that belong to the content or the users, validating the input and displaying the forms with custom HTML styling.
When you ask for help or report issues, make sure to tell us the versions of the Toolset plugins that you have installed and activated.
Viewing 15 topics - 766 through 780 (of 1,498 total)
Problem: I am trying to use Forms in a PHP 8 site but I see a Fatal Error:
An error of type E_ERROR was caused in line 437 of the file /path/to/site/wp-content/plugins/cred-frontend-editor/application/views/dialogs/shortcodes/cred-relationship-form.phtml. Error message: Uncaught ValueError: Unknown format specifier "S" in /path/to/site/wp-content/plugins/cred-frontend-editor/application/views/dialogs/shortcodes/cred-relationship-form.phtml:437
Stack trace:
#0 /path/to/site/wp-content/plugins/cred-frontend-editor/application/views/dialogs/shortcodes/cred-relationship-form.phtml(437): sprintf()
#1 /path/to/site/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/inc/autoloaded/files.php(99): include('...')
#2 /path/to/site/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/inc/autoloaded/renderer/renderer.php(136): Toolset_Files->get_include_file_output()
#3 /path/to/site/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/inc/autoloaded/renderer/renderer.php(110): Toolset_Renderer->render_phtml_template()
#4 /path/to/site/wp-content/plugins/cred-frontend-editor/application/controllers/shortcode_generator.php(942): Toolset_Renderer->render()
#5 /path/to/site/wp-content/plugins/cred-frontend-editor/application/controllers/shortcode_generator.php(916): CRED_Shortcode_Generator->render_dialog_templates()
#6 /path/to/site/wp-includes/class-wp-hook.php(292): CRED_Shortcode_Generator->render_footer_dialogs()
#7 /path/to/site/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#8 /path/to/site/wp-includes/plugin.php(484): WP_Hook->do_action()
#9 /path/to/site/wp-admin/admin-footer.php(78): do_action()
#10 /path/to/site/wp-admin/post.php(369): require_once('...')
#11 {main}
Solution: Our developers are in the process of adding support for PHP 8. This issue has been reported and we will resolve the problem in upcoming releases of the Toolset suite.
Problem: I have defined a custom field in my Form and set its value using a URL parameter. I would like to hide that field on the front-end, but if I use HTML comments the field value is not saved. How can I hide the field but save the value from a URL parameter?
Solution: Use CSS to hide the field itself or a container element: