Hi there,
I'm trying to create a new custom field type in my form, an image select (similar to http://jqueryui.com/demos/selectable/#display-grid but images displayed instead of text). Thinking the admin interface should be similar to what's available for something like the Checkboxes, user adds an array of image URLs that are "selectable" and can optionally add a value for this or just have it default to the index of the image.
Unfortunately this is my first time using Gravity and I'm having difficulty knowing where to start. Started with a plugin that successfully added my new custom field button "Image Select" to the Advanced Settings, but honestly I'm having a lot of trouble figuring out next steps. It seems as though I should next add the field's settings via gform_field_standard_settings
and gform_tooltips
. After that, add formatting when this new element type is defined. But I'm not positive.
I've tried searching, and I can't see any tutorials that walk someone through creating their own custom field type. If one exists, please point me to it.
Best,
Mike