dw.web
Class FormAction
Object
dw.web.FormElement
dw.web.FormAction
The FormAction class represents the action in form instance hierarchy.
Properties
description  :  String  (Read Only)
The optional description for the action. The description could be used as tooltip for the action.
label  :  String  (Read Only)
The optional label for the action. The label would be typically used as button text.
object  :  Object  (Read Only)
The object that was bound to the form in which the action is contained. The method is a convenience method for getParent().getObject(). In most cases this is actually the object for which the specific action is triggered.
submitted  :  boolean  (Read Only)
Identifies if the form action was submitted from the client to the server.
triggered  :  boolean  (Read Only)
Identifies that this action is triggerd. An action is only triggered if it was submitted and the constraints, regarding a valid form, are met.
x  :  Number  (Read Only)
In case of an image button, returns the x coordinate of the last click.
y  :  Number  (Read Only)
In case of an image button, returns the y coordinate of the last click.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getDescription() : String
Returns the optional description for the action.
getLabel() : String
Returns the optional label for the action.
getObject() : Object
Returns the object that was bound to the form in which the action is contained.
getX() : Number
In case of an image button, returns the x coordinate of the last click.
getY() : Number
In case of an image button, returns the y coordinate of the last click.
isSubmitted() : boolean
Identifies if the form action was submitted from the client to the server.
isTriggered() : boolean
Identifies that this action is triggerd.
Salesforce Commerce Cloud Courses
Salesforce B2C Commerce Developer - Certification Tests
Why risk failing the SFCC exam? Get 180 real questions, killer content, and everything you need to crush the Salesforce B2C Commerce Developer certification.

Becoming a Salesforce B2C Commerce Developer is your ticket to higher salaries, better job opportunities, and the credibility to stand out from the competition. But let's be honestβ€”passing the certification exam isn't easy. That's where we come in.
Salesforce Javascript Developer I - Certification Tests
Not just another prep courseβ€”this is your shortcut to passing. Master JavaScript for Salesforce and go from 'hoping to pass' to knowing you will. Ready to start?

This isn't just another prep courseβ€”it's your shortcut to mastering the skills and confidence you need to pass. With multiple practice tests covering every section and a final exam simulation designed to mirror the real thing, you'll feel like you've already aced it before test day.
Salesforce B2C Commerce Architect - Certification Tests
Think the Developer exam was hard? Welcome to the next level.

The Salesforce B2C Commerce Architect certification is a whole different gameβ€”complex solutions, elevated difficulty, and skills that set you apart in the eCommerce industry. That's why we're including 11 downloadable PDF guides, packed with best practices and strategies to help you prepare for the exam and build confidence in every topic.
Method Detail
getDescription
getDescription() : String
Returns the optional description for the action. The description could be used as tooltip for the action.
Returns:
the optional description for the action.

getLabel
getLabel() : String
Returns the optional label for the action. The label would be typically used as button text.
Returns:
the optional label for the action.

getObject
getObject() : Object
Returns the object that was bound to the form in which the action is contained. The method is a convenience method for getParent().getObject(). In most cases this is actually the object for which the specific action is triggered.
Returns:
the object that was bound to the form in which the action is contained.

getX
getX() : Number
In case of an image button, returns the x coordinate of the last click.
Returns:
the x coordinate of the last click.

getY
getY() : Number
In case of an image button, returns the y coordinate of the last click.
Returns:
the y coordinate of the last click.

isSubmitted
isSubmitted() : boolean
Identifies if the form action was submitted from the client to the server.
Returns:
true if the form action was submitted, false otherwise.

isTriggered
isTriggered() : boolean
Identifies that this action is triggerd. An action is only triggered if it was submitted and the constraints, regarding a valid form, are met.
Returns:
true if the action is triggered, false otherwise.

β™₯
Notifications pending to read