Auto-name from Date Pre-save Helper

Version 1.0 added 1 year ago by clarinetlord

HOW TO INSTALL: To install this package, copy the following code and paste it into your Pods >> Package Manager under the Import tab and follow instructions there.

1.0 Notes

First version!

About this Package

This simple pre-save helper is helpful for pods that need a date as the primary label instead of a name. It copies the date from a date field into the name field when saving a new pod or editing one. It assumes the date field is called "date" and the date format is "April 27, 2010," although these can easily be modified to your needs. It also only auto-generates a name if the name field is blank when saved.