Inline PICK form

Version 1.0.2 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.2 Notes

Fixed bug that caused a SQL error if pod is saved with no PICK values selected but with new inline values added.

About this Package

This package allows you to add new values to a PICK column on-the-fly when saving a pod item. Useful for simple related pods like "categories" that only have a name field but may have many, many items. Now you don't have to make a separate process out of adding items to the related pod. Just add values inline to the PICK column when creating a new main pod item.

Installation Instructions:

Add the input helper "select_categories" to a multiple PICK column in your main pod. Next, add the pre-save helper "save_categories" to your main pod.

Limitations:

Currently, the helpers only work with a multiple PICK column, and only saves the "name" field to your related pod. Support for adding other fields and support for single PICK columns will be added in a later release.