How to insert AUI editable form with submit to confluence page?
If you’re building a Confluence Server plugin, you’ll want to read this guide: https://developer.atlassian.com/server/confluence/writing-confluence-plugins/
The way you’ll build your plugin will change depending on exactly where on a Confluence page you’re attempting to add an editable form.
- If it’s meant to be inside a page’s content, you will need to create a Confluence Macro.
- If it should be somewhere else on the page (such as before/after the comments section), you will need to add your form code to a
web-panel. You can check the names of Confluence’s
web-panelplugin points either in Confluence’s documentation, or by using a plugin like this one to discover them at runtime in your development environment.
Once you’ve determined the location you’ll add your markup to, you’ll need to build an action to wire up your form to. Read this tutorial on adding “actions” to Confluence which should help explain how.
Then, it’ll be a matter of using AUI’s form field markup to make the UI do what it needs to.
Hope that helps!