Confirm Action Element

Home | Getting Started | API | Elements | Actions | Validators | Handlers | Configuration Options | Advanced Guides | Troubleshooting | About

Table of Contents

1 Confirm Action - #confirm {}

This action tells Nitrogen to trigger a Javascript confirmation box. (ok/cancel).


wf:wire(#confirm { text="Do you want to continue?", postback=continue })


text - (string)
The text of the confirm box.
postback - (Erlang term)
If 'ok' is clicked, Nitrogen will issue a postback with this term.



Called when the ok button is clicked. Tag is specified in the 'postback' attribute.

Date: 2014-11-12 19:51:29 CST

Author: Rusty Klophaus (@rustyio)

Org version 7.8.02 with Emacs version 23

Validate XHTML 1.0


Note:To specify code blocks, just use the generic code block syntax:
<pre><code>your code here</code></pre>

comments powered by Disqus