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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Form Questions /

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

Autofill form fields (in creating new page)


Go to End


1344 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