• When users ask questions they can add tags. But far not everyone know how to write them. Can i make that users add tags with ENTER or write a prompt in a form, that will disappear?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author DesignWall

    (@designwall)

    You can open the question-submit-form.php file in the templates folder and find the line 59.
    <input type="text" class="dwqa-question-tags" name="question-tag" value="<?php echo $tags ?>" placeholder="Your string" >

    You can write a prompt in a placeholder.

    Thread Starter olegator1

    (@olegator1)

    In line 59 i have <input type=”text” class=”” name=”_dwqa_anonymous_name” value=”<?php echo $name ?>” >. Should i change it to <input type=”text” class=”dwqa-question-tags” name=”question-tag” value=”<?php echo $tags ?>” placeholder=”Your string” > ? If so, i still does not work

    Plugin Author DesignWall

    (@designwall)

    In this case, you only can use the following code and write prompt in form by edit the string in the placeholder
    <input type="text" class="dwqa-question-tags" name="question-tag" value="<?php echo $tags ?>" placeholder="Your string" >
    Or use the HTML code to add the Note under the Tags feild.

    Thread Starter olegator1

    (@olegator1)

    I decided to add HTML code. Can i add text under button send not in the bottom of the page?

    Plugin Author DesignWall

    (@designwall)

    Yes, you can.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to add tags with ENTER or write a prompt in form’ is closed to new replies.