Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change css style HTML5 form required attribute required message

Tags:

html

jquery

css

i work with RTLbootstrap for RTL project. now i have any form with HTML5 form required attribute required message. in action i have this ballon for input:

enter image description here

I need To change Like This For RTL:

enter image description here

HTML:

<div class="controls">
  <input class="span4" type="text" name="title" placeholder="Title"  value=""  required oninvalid="this.setCustomValidity(\'User ID is a must\')">
</div>

NOTE:This is not custom tooltip or ballon! if we add required html tag in form input. before submit form HTML5 form required attribute show this ballon message automaticly. I need To edit/change/Set CSS For validation message?

How To change Display Of required field message for show in right of input field?

like image 818
Pink Code Avatar asked Jan 02 '14 21:01

Pink Code


1 Answers

Chrome does not allow styling form validation bubbles anymore:

See Details

Firefox has no way to style the error bubbles

See Details

like image 137
ಠ_ಠ Avatar answered Oct 24 '22 16:10

ಠ_ಠ