• rajasabhai rajasabhai
    March 19, 2018 at 7:44 pm #5050

    Hi Team,

    Consider a coach which contains a Tab sections and each tab in it is built from coach views.

    Below the Tab section in the coach is a button to submit the data.

    How can I make this button to be enabled only when there is any data change across tabs?

    SPARK Support
    March 21, 2018 at 12:06 pm #5061

    Hi Rajasabhai,

    Please review the following article on Validation.  Although this a different approach, this will give you an idea on how you can define and call custom functions from SPARK controls.


    My suggestion would be to use a custom function in each control’s On Change event, much like the @validateControl() exemplified in the article.  Your function could then evaluate any necessary logic such as if all controls are populated, and then call the button’s setEnabled(true):


    Also, I have deleted your duplicate post from the General Discussion topic.


    Stephen P.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Start typing and press Enter to search