View source: R/rk.XML.wizard.R
rk.XML.wizard | R Documentation |
This function will create a wizard section with optional child nodes "browser", "checkbox", "column", "copy", "dropdown", "embed", "formula", "frame", "include", "input", "insert", "page", "preview", "radio", "row", "saveobject", "select", "spinbox", "stretch", "tabbook", "text", "valueselector", "valueslot", "varselector" and "varslot".
rk.XML.wizard(..., label = NULL, recommended = FALSE, i18n = NULL)
... |
Objects of class |
label |
Character string, a text label for this plugin element. |
recommended |
Logical, whether the wizard should be the recommended interface (unless the user has configured RKWard to default to a specific interface). |
i18n |
Either a character string or a named list with the optional elements |
An object of class XiMpLe.node
.
rk.XML.plugin
,
rk.plugin.skeleton
,
and the Introduction to Writing Plugins for RKWard
# define a checkbox for the actual dialog test.cbox1 <- rk.XML.cbox(label="More than 30 subjects", val="true") # define the wizard test.text <- rk.XML.text("Did you test more than 30 subjects?") test.copy <- rk.XML.copy(id=test.cbox1) test.wizard <- rk.XML.wizard(rk.XML.page(list(test.text, test.copy))) cat(pasteXML(test.wizard))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.