Elsie
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 |
|---|---|---|---|---|---|
|
Parsing entry for multi check box field
Started by: Elsie in: Toolset Professional Support |
|
1 | 6 | 4 months, 2 weeks ago | |
|
Content box not showing in admin for a post
Started by: Elsie in: Toolset Professional Support |
|
1 | 5 | 7 months, 3 weeks ago | |
|
Adding post relationships
Started by: Elsie in: Toolset Professional Support |
|
1 | 4 | 10 months, 2 weeks ago | |
|
Adding post relationships
Started by: Elsie in: Toolset Professional Support |
|
1 | 4 | 11 months, 1 week ago | |
|
Conditional logic not working in Views
Started by: Elsie in: Toolset Professional Support |
|
3 | 7 | 1 year, 6 months ago | |
|
I'm getting a Google Maps error, presumably from the Toolset shortcode I'm using
Started by: Elsie in: Toolset Professional Support |
|
2 | 4 | 2 years, 4 months ago | |
|
Setting up taxonomy to show on default archive page
Started by: Elsie in: Toolset Professional Support |
|
2 | 13 | 2 years, 6 months ago | |
|
Need to get two loop items to work inside a view
Started by: Elsie in: Toolset Professional Support |
|
2 | 5 | 2 years, 8 months ago | |
|
Cannot figure out how to get the post count to show only once in a view
Started by: Elsie
in: Toolset Professional Support
Problem: How to add the post count Solution: Use [wpv-found-count] or [wpv-items-count] shortcodes. Relevant Documentation: https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#vf-155378 https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-items-count |
|
2 | 5 | 3 years, 3 months ago | |
|
The view I made for my post type works. But single content template does not.
Started by: Elsie in: Toolset Professional Support |
|
2 | 4 | 3 years, 4 months ago | |
|
I want a form to submit only if someone correctly enters field value from post
Started by: Elsie
in: Toolset Professional Support
Problem: How to stop the form from submitting unless a correct value is added and compared with a custom field Solution: - Add a generic field in the form. - Use the cred_form_validate hook to check against the entered field and the custom field in question: https://toolset.com/documentation/programmer-reference/cred-api/#cred_form_validate Add the custom code below according to the documentation:
<?php
add_filter('cred_form_validate','chr_validation',10,2);
function chr_validation($error_fields, $form_data)
{
//field data are field values and errors
list($fields,$errors)=$error_fields;
//uncomment this if you want to print the field values
//print_r($fields);
//validate if specific form
if ($form_data['id'] == FORMID)
{
//check my_field value
if ($fields['generic-field']['value'] != types_render_field("custom-field", array()) )
{
//set error message for my_field
$errors['generic-field'] = 'Please enter a correct PIN.';
}
}
//return result
return array($fields,$errors);
}
Relevant Documentation: |
|
2 | 15 | 3 years, 5 months ago | |
|
Toolset is adding paragraph tags to my output, and I don't want it to.
Started by: Elsie in: Toolset Professional Support |
|
2 | 8 | 3 years, 10 months ago |