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.

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.

Form Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Autofill form fields (in creating new page)


Go to End


1785 Views

Avatar
Victor

Community Member, 128 Posts

10 March 2009 at 10:30am

I am creating StaffPage following Tutorial-2 (but with much more fields than there)
I want the behavior similar to one in "Create Page"

"Page name" entered fills also "Navigation label" (which one can override)

I want "Last name" and "First name" entered fill "Page name"= "Last_name First_name" which one can however override

I understand that this should be done through javascript. Thank you in advance

Victor