• Hey, im trying to implement pre-defined tags to choose from as checkboxes instead of typing in tags in the textinput field.
    But haven’t had any great success yet. Im in the learning phase still, so what would be the easiest way of doing this?

    if($this->options['ttgps_chk_tagsfield'] == "on"){
    				        $template_str .= '<input type="text" class="txtinput" id="tags" name="tags" size="72"';
    					$template_str .= ($this->options['ttgps_chk_tagsfield_req']=="on") ? ' required="required" ' : '';
    					$template_str .= 'placeholder="Comma Separated Tags">';
    				    }

    Tried editing this in several ways but couldnt get it to work as i wanted.

    Great plugin by the way!

    https://www.ads-software.com/plugins/tt-guest-post-submit/

Viewing 1 replies (of 1 total)
  • Plugin Author Rashed Latif

    (@rashedlatif)

    Yes that the part of code you need to make change. you can remove it totally and write the codes for check box. you can use array to hold all the predefined tags and runa loop to implement check boxes or just implement it one by one whatever is easier for you. there should be many references online regarding that.

Viewing 1 replies (of 1 total)
  • The topic ‘Tag input as checkboxes’ is closed to new replies.