AndreG3332
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 |
---|---|---|---|---|---|
Sort a list of entries by the customers name with headings
1
2
Started by: AndreG3332 in: Toolset Professional Support |
2 | 20 | 5 years, 9 months ago | ||
nested view
1
2
Started by: AndreG3332 in: Toolset Professional Support |
3 | 17 | 5 years, 9 months ago | ||
Content submission Form in table format
Started by: AndreG3332 in: Toolset Professional Support |
2 | 5 | 5 years, 9 months ago | ||
Split: Display the value of a field instead of the field itself
1
2
Started by: AndreG3332 in: Toolset Professional Support |
3 | 21 | 5 years, 11 months ago | ||
error 500 when cred updated to 2.21 on wprdpress 5
Started by: AndreG3332
in: Toolset Professional Support
Problem: Solution: You can find the proposed solution, in this case, with the following reply: Relevant Documentation: |
3 | 7 | 5 years, 11 months ago | ||
Add a author field to company cred form.
Started by: AndreG3332 in: Toolset Professional Support |
2 | 10 | 5 years, 11 months ago | ||
Display the url for an uploaded life
Started by: AndreG3332
in: Toolset Professional Support
Problem: I would like to loop over several posts and display information from each post, including the URL of each file in a repeating file field. Solution: Set up the View to display the proper posts, then add a wpv-for-each shortcode to loop over the repeating field. Make sure your slugs are matched up inside the wpv-for-each. [wpv-for-each field="wpcf-upload-document"]<li>[types field="upload-document"][/types]</li>[/wpv-for-each] Relevant Documentation: |
2 | 11 | 5 years, 11 months ago | ||
Form redirect not working after form submission
Started by: AndreG3332
in: Toolset Professional Support
Problem: Solution: This was fixed with an update to Forms 2.2.1.1 |
3 | 9 | 5 years, 11 months ago | ||
Custom search in user view
Started by: AndreG3332 in: Toolset Professional Support |
2 | 2 | 5 years, 11 months ago | ||
How Do i create a date filter for a View
Started by: AndreG3332
in: Toolset Professional Support
Problem: The user wanted to create a parametric search for users. Solution: This way you can filter for their profiles rather than the actual user. Take a look at this link below. |
2 | 3 | 5 years, 11 months ago | ||
Display the value of a field instead of the field itself
Started by: AndreG3332 in: Toolset Professional Support |
2 | 7 | 5 years, 11 months ago | ||
to display filtered results in a view depending on the logged in user
Started by: AndreG3332 in: Toolset Professional Support |
2 | 2 | 5 years, 12 months ago | ||
Field validation of post form
Started by: AndreG3332
in: Toolset Professional Support
Problem: I would like to add custom validation to a Form that tests to see if any other post has the same custom field value. If so, an error should be displayed. Solution: Use the Forms validation API to query posts by meta key and value: add_filter( 'cred_form_validate', 'require_unique_doc_num_validation', 10, 2 ); function require_unique_doc_num_validation( $data, $form_data ) { $forms = array( 63, 456 ); // a comma-separated list of form IDs you want to validate $post_type_slug = 'document-master-list'; // your document cpt slug $field_slug = 'document-number'; // the field slug of the unique number from wp-admin $error_message = 'Unique document number is required'; // the error message you want to display // you should not edit anything below this line list($fields,$errors)=$data; if ( in_array( $form_data['id'], $forms ) ) { if ( !isset($fields['wpcf-' . $field_slug]['value'])) { $errors[$field_slug] = $error_message; } else { $doc_args = array( 'post_type' => $post_type_slug, 'numberposts' => -1, 'meta_query' => array( array( 'key' => 'wpcf-' . $field_slug, 'value' => $fields['wpcf-' . $field_slug]['value'] ) ), ); $matching_docs = get_posts( $doc_args ); if ( count($matching_docs) > 0 ) { $errors[$field_slug] = $error_message; } } } $data =array($fields,$errors); return $data; } Relevant Documentation: |
2 | 11 | 5 years, 12 months ago | ||
Open child cred form from with in parent cred from
Started by: AndreG3332
in: Toolset Professional Support
Problem: Solution: The expected workflow would be something like a form to publish the parent CPTs is inserted on one page, which displays the post after submission. The template for that post type includes a link to an edit form for the post, and also includes the form to add child posts (either directly, or linking to the form). |
2 | 3 | 6 years ago | ||
Setting up a relational post form
Started by: AndreG3332
in: Toolset Professional Support
Problem: Setup relationship form using many-to-many relationship. Solution: Here are detail steps: https://toolset.com/forums/topic/setting-up-a-relational-post-form/#post-1154440 Relevant Documentation: |
2 | 7 | 6 years ago |