farcryButton

farcryButton

Metadata

Attributes

Name Type Required Default Options Description
value string Yes The event submitted and captured by an ft:processForm tag.
type string No button or submit. Default is 'submit' if inside an ft:form and 'button' if not.
text string No #attributes.value# The text that will appear on the button. Default is the value.
id string No f-btn-#application.fapi.getUUID()# The unique id of the button
validate string No Should the form be validated before the onClick event is fired. Default is 'true' for type submit and 'false' for buttons.
SelectedObjectID string No A value that will be placed in the hidden form field form.selectedObjectID on submission.
onClick string No javascript that will be run when the user clicks this button
Class string No Any css classes that are to be added to the button
Style string No Any css styles that are to be added to the button.
ConfirmText string No A confirmation message that will appear before submission
url string No A URL that you would like the button to redirect the page too.
target string No _self The target for the url page to be redirected too.
bSpamProtect string No false Instantiates cfformprotection to ensure the button is not clicked by spam.
stSpamProtectConfig string No #structNew()# config data that will override the config set in the webtop.
rbkey string No forms.buttons.#rereplacenocase(attributes.value,'[^\w\d]','','ALL')# The resource path for this button. Default is forms.buttons.value.
disabled string No false Should the button be disabled
r_stButton string No the name of the calling scope variable name to return the details of the farcry button
renderType string No farcryButton How should the button be rendered (button, link)
primaryAction string No Is this button a primary action on the form
bDefaultAction string No false Default action when someone presses enter on a form.
icon string No The jquery-ui icon to use