Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
G
gajim-plugins
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 58
    • Issues 58
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 8
    • Merge Requests 8
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gajim
  • gajim-plugins
  • Wiki
  • formhandler

Last edited by Philipp Hörist Dec 06, 2018
Page history

formhandler

Form Handler

If you receive a message with a form attached, this plugin shows a button in the chat that lets you open the form and submit it

Example:

<message type="chat" id="72b2fe5f" to="max@mann.de" from="mara@frau.de">
<body>Please fill out this form</body>
<x xmlns='jabber:x:data' type='form'>
    <title>Feedback Form</title>
    <instructions>Please give us feedback</instructions>
    <field type='hidden' var='FORM_TYPE'>
        <value>feedback</value>
    </field>
    <field type='fixed'><value>Section 1:</value></field>
    <field type='text-multi' label='Comment' var='description'/>
    <field type='hidden' var='submit-button-text'>
        <value>Submit</value>
    </field>
    <field type='hidden' var='open-button-text'>
        <value>Vote!</value>
    </field>
</x>
</message>

Configuration

You can customize the buttons with following hidden fields

  • submit-button-text The text that is used as label for the submit button
  • open-button-text: The text that is used as label for the open button
Clone repository
  • OpenPGPplugin
  • acronymsexpanderplugin
  • antispamplugin
  • appindicatorsupportplugin
  • bannertweaksplugin
  • birthdayreminderplugin
  • chatstateplugin
  • clickablenicknamesplugin
  • clientsiconsplugin
  • coloredtracebackplugin
  • emoticonpackplugin
  • filesharingplugin
  • flashingkeyboardplugin
  • formhandler
  • gnomesessionmanagerplugin
View All Pages