Javascript: Difference between revisions
Line 42: | Line 42: | ||
=nuDeleteAction= | =nuDeleteAction= | ||
{{Template:php_sprera | |||
<!--Javascript SYNTAX, PARAMETERS, RETURN, EXAMPLE, RESULT ALSOSEE--> | |||
|syntax=<!-- SYNTAX --><span style='color:#E4D00A'> | |||
nuDeleteAction() | |||
</span>|parameters=<!-- PARAMETERS --><pre> | |||
</pre>|return=<!-- RETURN --><pre> | |||
</pre>|description=<!-- DESCRIPTION --> | |||
If placed on an Object's click event, it will will delete the current record. | |||
|example=<!-- EXAMPLE --><pre style="background-color:#f8dc3d"> | |||
</pre>|result=<!-- RESULT --><pre> | |||
</pre>|alsosee=<!-- SEE ALSO --> | |||
[[Javascript#nuAddActionButton|nuAddActionButton]] | |||
|}} | |||
=nuDisable= | =nuDisable= | ||
This will disable all parts of a nuBuilder Forte [[Objects|Object=. | This will disable all parts of a nuBuilder Forte [[Objects|Object=. |
Revision as of 02:21, 13 July 2017
nuAddAction
nuAddAction()
Parameters
Return Value
Description
If placed on an Object's click event, it will take the user to the Edit Form of a new record.
Example
Also See :
nuAddActionButton
nuAddActionButton
Add an Action Button.
nuBeforeSave
A function that can be created to validate an Edit Form before it is saved.
nuCloneAction
nuCloneAction()
Parameters
Return Value
Description
If placed on an Object's click event, it will make a copy of the current record ready to save.
Example
Also See :
nuAddActionButton
nuDeleteAction
nuDeleteAction()
Parameters
Return Value
Description
If placed on an Object's click event, it will will delete the current record.
Example
Also See :
nuAddActionButton
nuDisable
This will disable all parts of a nuBuilder Forte [[Objects|Object=.
nuEmailReportAction
An Action Button that will send an email.
nuEnable
This will enable a nuBuilder Forte [[Objects|Object=.
nuGetBreadcrumb
Go to a prevoius Breadcrumb and a certain Tab.
nuGetWordWidth
Returns the width of a string in pixels.
nuHide
This will hide all parts of a nuBuilder Forte Object. nuID= Creates a unique string.
nuMessage
Displays a message.
nuPad2
Adds 0's to the left of a number to a width of 2.
nuPad3
Adds 0's to the left of a number to a width of 3.
nuPad4
Adds 0's to the left of a number to a width of 4.
nuPopup
Open a window in an iFrame.
nuPrintAction
An Action Button that will create a HTML form containing the current list in the Browse Form.
nuRunPHP
An Action Button that will run a Procedure in a new window.
nuRunPHPHidden
An Action Button that will a Procedure without seeing anything in the browser.
nuRunReport
An Action Button that will run a Report.
nuSaveAction
An Action Button that will save the current record.
nuSelectTab
Displays a certain Tab.
nuSetTitle
Changes the last breadcrumb to a certain value.
nuShow
- This will display a nuBuilder Forte [[Objects|Object=.
nuSubformObject
This returns a Javascript object that can be looped through.
nuTotal
Returns the value of a number Object.
nuTranslate
Swaps a nuBuilder phrase with a phrase in [[Translations=.