• Resolved minati88

    (@minati88)


    Good day,

    I would like to use the captcha with a ticketsysstem plugin.
    aAdd the following code to the end of the file in functions.php

    – Add the following code and replace form with the class to the end of the file

    function add_my_forms( $forms ) {
       $forms['orbisius_support_tickets'] = "TICKET";
       return $forms;
    }
    add_filter( 'cptch_add_form', 'add_my_forms' );

    I have activated it under settings.
    I do not see a captcha

    how do I find out what I should write in there here is a section of the form

                  <div class="form-group">
                                <label class="col-md-3 control-label"
                                       for="orbisius_support_tickets_data_message">
                                    <?php _e( 'Message', 'orbisius_support_tickets' ); ?></label>
                                <div class="col-md-9">
                                    <textarea id="orbisius_support_tickets_data_message"
                                                                      <div class="form-group">
                                <label class="col-md-3 control-label"
                                       for="orbisius_support_tickets_data_message">
                                    <?php _e( 'Message', 'orbisius_support_tickets' ); ?></label>
                                <div class="col-md-9">
                                    <textarea id="orbisius_support_tickets_data_message"
                                              class="orbisius_support_tickets_data_message form-control orbisius_support_tickets_full_width"
                                              name="orbisius_support_tickets_data[message]"
                                              placeholder="Please enter the message here..."
                                              rows="<?php echo $row_num; ?>"><?php esc_attr_e( $data['message'] ); ?></textarea>
                                </div>
                            </div>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Captcha show on custom form’ is closed to new replies.