Timothy
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 |
---|---|---|---|---|---|
Output only one checkbox from a checkboxes field
Started by: Timothy in: Toolset Professional Support |
2 | 2 | 7 years ago | ||
Saving Cred Generic Fields Data & Accessing IT
1
2
Started by: Timothy in: Toolset Professional Support |
3 | 17 | 7 years, 2 months ago | ||
How to display CRED Generic checkboxes field with image as label
Started by: Timothy
in: Toolset Professional Support
Problem: Solution: You can find the proposed solution with the following reply: Relevant Documentation: |
2 | 15 | 7 years, 2 months ago | ||
Trying to create CRED form generic checkboxes populated by posts
Started by: Timothy
in: Toolset Professional Support
Problem: I am trying to create generic checkboxes fields in my CRED form using a View to supply the options. The output of the View looks accurate but the checkboxes do not appear. Solution: add_filter( 'wpv_filter_wpv_view_shortcode_output', 'prefix_clean_view_output', 5, 2 ); function prefix_clean_view_output( $out, $id ) { if ( $id == '12345' ) { //Please adjust to your Views ID $start = strpos( $out, '<!-- wpv-loop-start -->' ); if ( $start !== false && strrpos( $out, '<!-- wpv-loop-end -->', $start ) !== false ) { $start = $start + strlen( '<!-- wpv-loop-start -->' ); $out = substr( $out , $start ); $end = strrpos( $out, '<!-- wpv-loop-end -->' ); $out = substr( $out, 0, $end ); } } return $out; } Replace 12345 with the ID of your View. Relevant Documentation: https://toolset.com/forums/topic/how-use-a-shortcode-instead-of-options-for-cred-forms/ |
2 | 3 | 7 years, 2 months ago |