7921 Posts in 1359 Topics by 933 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » The default Login Form - add default value's
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
| Go to End | ||
| Author | Topic: | 2481 Views |
-
Re: The default Login Form - add default value's

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?
| 2481 Views | ||
| Go to Top |
!!!
