• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Form helper - novalidate

#1
Maybe I'm wrong but using the form helper it's impossible to specify single attributes. Today I wanted to use "novalidate" so far I have not figured out how to fix it.
Reply

#2
@Nome,

It is not impossible. What form field type are you trying create with a novalidate attribute?
Reply

#3
(06-26-2018, 12:16 PM)php_rocs Wrote: @Nome,

It is not impossible.  What form field type are you trying create with a novalidate attribute?

Oh sure:


Code:
<form ... novalidate>...</form>

Example:

PHP Code:
<?= form_open_multipart('answer/add', array('class' => 'needs-validation''but no validate ?'));?>
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.