Open DHoogland opened 6 years ago
I'm trying this in a project of mine and it works until it wants to get the $input
on line 400 in AmForms_FormsService
as it is searching for the template in the amforms plugin. How did you manage to work around that?
I made this PR a while ago and don't have access to the repository anymore to check how I actually did that. I think it was something with the structure _amforms/field in your projects templates. Maybe @hubertprein or @FrankZwiers can confirm this?
Added the option to load custom fields from external plugins. I use this my self to load a custom address field with address auto completion from the zip code/house number.
Add this function to your main plugin class to return your field(s):