johnR-22
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Allowing registered users to add multiple images to existing post
Started by: johnR-22
in: Toolset Professional Support
Problem: Solution: You can find proposed solution, in this case, with the following reply: Relevant Documentation: |
3 | 3 | 6 years, 4 months ago | ||
Redirecting user post login to the desired CRED form
Started by: johnR-22
in: Toolset Professional Support
Problem: I have a front end page that contains "edit" links in order to encourage contributors to update/amend the information on my site. However, these links for users who arent logged in, point to the login/register page. Id like (if possible) to implement the following functionality. 1. Guest user clicks on EDIT Solution: The WordPress built-in login form supports URL parameter "redirect_to", use it you can redirect logged in user to the specific URL, for example: https://toolset.com/forums/topic/redirecting-user-post-login-to-the-desired-cred-form/#post-914559 Relevant Documentation: https://codex.wordpress.org/Plugin_API/Filter_Reference/login_redirect |
2 | 5 | 6 years, 5 months ago | ||
Clear field value upon form submission?
Started by: johnR-22
in: Toolset Professional Support
Problem: I have a custom field in a Form that allows Users to submit a comment. When the Form is submitted, I would like to save the comment so it can be viewed on the backend of the site. When the Form is loaded again on the front-end, I would like to show the field as empty so the next User can submit their own comment without seeing the previous comment. Solution: Set the value of the field to be an empty space surrounded by quotation marks: cred_field field='revision-summary' post='vehicle' value=' ' urlparam='' class='form-control' output='bootstrap'] Update any form validation scripts you have to account for the empty string. |
2 | 2 | 6 years, 6 months ago | ||
Struggling with JS client side form validation
Started by: johnR-22
in: Toolset Professional Support
Problem: I am trying to add some custom JavaScript form validation to a CRED form, but it doesn't seem to be working as expected. Solution: Bind to the window.load event, not the document ready event, to initialize form event handlers. Use the jQuery namespace instead of "$" to access the jQuery object. Here is a template: jQuery(window).bind('load', function() { // Your custom validation code goes here using jQuery instead of $ }); |
3 | 16 | 6 years, 6 months ago | ||
Custom field revisions
Started by: johnR-22
in: Toolset Professional Support
Problem: Solution: |
2 | 3 | 6 years, 6 months ago | ||
How to pass ID of the person performing the edit
1
2
Started by: johnR-22
in: Toolset Professional Support
Problem: I would like to capture information about the User who submitted a CRED edit post form so I can moderate submissions efficiently from wp-admin. Solution: Use a generic field in the form to capture the current User's ID, then use the CRED API to do something with that information. Relevant Documentation: |
3 | 24 | 6 years, 6 months ago | ||
How to show related custom post types
Started by: johnR-22
in: Toolset Professional Support
Problem: On a single post, I would like to show a list of related posts from the same post type. Cars are organized using three taxonomies - Make, Model, and Series. I would like to show all the cars in the same Make and Model as the current car. Solution: For the most flexibility, use a 4th taxonomy "Related Vehicles" and create a term for each car, where the term slug matches the car's post slug. Create a View filtered by Related Vehicle, where the term is set using a shortcode attribute. Use the current post's slug in the shortcode attribute to display a list of posts related to the current post. For more simplicity, you can use the two taxonomies Make and Model to filter a View of Cars, where the terms are set by the current post. This approach will not allow arbitrary relationships. |
2 | 8 | 6 years, 6 months ago | ||
Membership demo is not working (Reference sites)
Started by: johnR-22
in: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
2 | 3 | 6 years, 6 months ago |