![]() |
Download TeamPage 6.2.41 | ![]() |
{
form: "[name of the FormFactory configuration]",
formId: "[DOM ID of the form instance]",
formProperties: {
// map of bootstrap properties used to launch the form, including:
form: "[requested FormFactory configuration name]",
html: "[requested HTML title of form]", ...
},
formState: {
// snapshot of the current state of the form's effective field values
},
resultErrors: {
// map of details about errors that happened on server, if any
},
resultProperties: {
// contains the updated form properties, which contain information about the result, including, e.g.,
fqid: [the newly created entry's numeric FQID],
new_entry_id: "[name rendering of Traction ID]",
new_entry_url: "[a URL that may be used to navigate to the newly created entry]"
}
}
<a href="javascript:void(0);" rg="a#actionName¶m1=value1&...">Click Here</a>
<a class="button" href="javascript:void(0);" rg="<htmlattributevalue.encode>a#searchFilterForm&name=some_field,search_filter_mode&display_name=Some Value</htmlattributevalue.encode>">Filter by Something</a>
/**
* @param callback defines functions to call after the refresh
* operation completes (see below).
* @param scrollToTop pass true to cause the frame to be
* scrolled to the top of the page after the refresh.
*/
Proteus.refresh = function(callback, scrollToTop);
// Structure of the callback object:
callback = {
"beforeRender": function() {
// Called after the request returns, but before returned data are rendered.
// Return false if the normal rendering should be skipped (afterRender will not be called)
return true;
},
"afterRender": function() {
// Called after returned data are rendered.
// No return value is necessary.
},
"onFailure": function() {
// Called if the request fails.
// Return false if the normal error handling should be skipped.
return true;
}
}
teampage_logo.jpg