• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTML5 placeholder attribute and form_validation

#5
[eluser]piddleton[/eluser]
[quote author="Cristian Gilè" date="1338839405"]I'm not able to reproduce the error. Which browser are you using? Try this version:

Code:
$emailarr = array(
  'name' => 'email_address',
  'id'   => 'email_address',
  'placeholder' => 'Email Address',
  'value' => set_value('email_address')
);    
    
echo form_input($emailarr);

Remember to close the form.[/quote]

Success!

That change worked to use set_value as part of the array instead of a parameter to form_input.

Thanks a bunch. Closed the form as well. Smile


Messages In This Thread
HTML5 placeholder attribute and form_validation - by El Forum - 06-04-2012, 11:20 AM
HTML5 placeholder attribute and form_validation - by El Forum - 06-04-2012, 11:37 AM
HTML5 placeholder attribute and form_validation - by El Forum - 06-04-2012, 12:12 PM
HTML5 placeholder attribute and form_validation - by El Forum - 06-04-2012, 12:50 PM
HTML5 placeholder attribute and form_validation - by El Forum - 06-04-2012, 01:31 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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