Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

The default Login Form - add default value's


Go to End
Reply


19 Posts   3456 Views

Avatar
UncleCheese

Forum Moderator, 4096 Posts

10 August 2010 at 9:44am

parent::__construct

Avatar
borriej

Community Member, 267 Posts

10 August 2010 at 6:58pm

IT WORKS :D !!!
THANK YOU!

Avatar
borriej

Community Member, 267 Posts

10 August 2010 at 7:35pm

The default value does display.

But when you log-in with the correct password/username you get an error:

Fatal error: Call to a member function setValue() on a non-object in /public/sites/www.url.nl/mysite/code/MyLoginForm.php on line 6

And a side note:
the default value was displayed, but with the script: (http://www.yourhtmlsource.com/forms/clearingdefaulttext.html)

<script type="text/javascript" src="util-functions.js"></script>
<script type="text/javascript" src="clear-default-text.js"></script>

the value doesn't dissappear when you click inside the textField.. i have the correct classname on the fields.

Any ideas?

Go to Top