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


Reply

19 Posts   3273 Views

Avatar
UncleCheese

10 August 2010 at 9:44am 4085 Posts

parent::__construct

Avatar
borriej

10 August 2010 at 6:58pm Community Member, 267 Posts

IT WORKS :D !!!
THANK YOU!

Avatar
borriej

10 August 2010 at 7:35pm Community Member, 267 Posts

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?