This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Wouter
Wouter

Hi,

Can someone tell me, Is it possible to make by myself the HTML form (not using yaml) for the plugin settings page?

I think i need this because In the settings I have to enter a key. When the key is set I have to click a button to run the code so I can create a dropdown.

So far I read I cant create a form with yaml where are extra buttons for Ajax calls.

I hope my question is clear

Last updated

Scott
Scott

So far I read I cant create a form with yaml where are extra buttons for Ajax calls.

This is not the case, simply create a standard form and use a form widget to provide the extra functionality. You can get as sophisticated as you need to with these. To get started, use the artisan command php artisan create:formwidget Author.Plugin WidgetName

Wouter
Wouter

I never tought about a form widget.... Thanks

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.