parent::__construct
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
DataObjectManager Module /
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba
The default Login Form - add default value's
- Previous 10 entries
- 1
- 2
- Page 33(current)
IT WORKS :D !!!
THANK YOU!
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?
- Previous 10 entries
- 1
- 2
- Page 33(current)