eduardotkoller / convForm

A jQuery plugin that transforms a form into an interactive chat.
https://eduardotkoller.github.io/convForm
MIT License
182 stars 109 forks source link

required Placeholder attribute in ConvForm is not working #50

Open anithats1988 opened 5 years ago

anithats1988 commented 5 years ago

<input data-conv-question="Type in your e-mail" data-pattern="^[a-zA-Z0-9.!#$%&’*+/=?^_{|}~-]+@[a-zA-Z0-9-]+.[a-zA-Z0-9-]+(?:.[a-zA-Z0-9-]+)*$" id="email" type="email" name="email" required placeHolder="What's your e-mail?">

                                <select data-conv-question="Selects also support callback functions. For example, try one of these:">
                                        <option value="google" data-callback="google">Google</option>
                                        <option value="bing" data-callback="bing">Bing</option>
                                </select>`

But still the placeholder for Email and password is "type Here"

eduardotkoller commented 5 years ago

Hi there. At the moment you can't set different placeholder per question, only a default placeholder for every question. I'll label this as an enhancement and to-do.