2

I have a job listing channel. I want to create a form on the front-end that has all the jobs that are created in the channel inside of it. I'm using the Sprout Forms plugin, but when I create a custom plugin that creates a new field type. I get the error that this field isn't meant to be used on the front-end.

Has anyone encountered this situation? Have any recommendations? Or am I going about it all wrong?

1

Sprout Forms needs to know how a field should render on the front-end. By default it supports several common fields, but you will need to add support for custom fields on your own. It sounds like you've got your field created and working, so you'll just need to add Sprout Forms front-end field support.

Adding support on the front-end is very similar to how you added support for your field in the Craft control panel. If you want to see several examples of custom fields adding front-end field support for Sprout Forms, take a look at the Sprout Fields plugin.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.