• Resolved mecaer

    (@mecaer)


    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?

    • This topic was modified 5 years, 2 months ago by mecaer.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author SCAND

    (@scandltd)

    Hi.

    Could you provide URL to public page with your form, please?

    Or just send an email with details to [email protected].

    Thanks.

    Best regards,
    SCAND Team

    Thread Starter mecaer

    (@mecaer)

    I found the problem.
    If into a select I add
    the option first_as_label "-- Choose support type --"
    it doesn’t work.
    I’llsend you and email with the link.

    • This reply was modified 5 years, 2 months ago by mecaer.
    • This reply was modified 5 years, 2 months ago by mecaer.

    and which was the solution?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Select Help topic’ is closed to new replies.