Select Help topic
-
I read in an old post that:
The “Contact Form 7” is not supported separated IDs and values for drop-downs.
When you specify [select* osticket-topic “Topic A |1” “Topic B|2” “Topic C|3”] then option values are the same as text and not IDs.I tryed to add this function, but it doesn’t work.
function scand_osticket_wpcf7_form_tag($scanned_tag) { if ($scanned_tag[‘name’] == ‘osticket-topic’) { $pipes = $scanned_tag[‘pipes’]; $scanned_tag[‘values’] = $pipes->collect_afters(); } return $scanned_tag; } add_filter(‘wpcf7_form_tag’, ‘scand_osticket_wpcf7_form_tag’);Have you a solution?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Select Help topic’ is closed to new replies.