If i create custom fields, say for a restaurant menu so the client can change the menu as they please, eg:
Doing it the way in the tutorial, i would have to know how many items are on the clients restaurant menu in order to know how many custom fields to create or i would have to make say 50 so that they never run out.
Is there a way to setup custom fields so that the client has an 'add another row' button which duplicates the fields and the template just cycles through the amount that they have added?
The standard approach for this would be to store your custom field as a dataobject then use a GridField instance to add / edit each new row. http://doc.silverstripe.org/framework/en/tutorials/5-dataobject-relationship-management covers an introduction to relationships.