RanadheerMachi
24th September 2009 09:02 UTC
Call a function on Next button click of a page
Hi
i have a custom page
Page custom SelectDatabaseDialog ValidateDatabaseDialog ""
i need to call a function on Next button click of the page.
i should use the function ValidateDatabaseDialog for that purpose.
any ways to do that?
jpderuiter
24th September 2009 10:31 UTC
Create a function ValidateDatabaseDialog, that's all:
Function ValidateDatabaseDialog
; Validation code
FunctionEnd
RanadheerMachi
24th September 2009 10:44 UTC
hi thanks for reply
sorry i was wrong
my actual question was
i have a custom page
Page custom SelectDatabaseDialog ValidateDatabaseDialog ""
i need to call a function on Next button click of the page.
i should NOT use the function ValidateDatabaseDialog for that purpose.
i need to use ValidateDatabaseDialog function only for validation not for Next Button functionality because if i use the same function for Validation/Nextbutton functionality there are many problems with Tab Button on key board
any ways to do that?
jpderuiter
24th September 2009 10:47 UTC
OK, then why not simply use another functionname, like
Page custom SelectDatabaseDialog SelectDatabaseDialogLeave ""
RanadheerMachi
24th September 2009 10:51 UTC
u mean SelectDatabaseDialogLeave function for Data validation of the page , then how can i call some other function on Next button click?
sorry if i am immature ,please elaborate
i dont know way to use different functions for Page data validation and Next Button functionality
jpderuiter
24th September 2009 12:02 UTC
Maybe you better summarize what you want to achieve, because I don't understand what the problem is...
RanadheerMachi
24th September 2009 12:10 UTC
I have 2 radio bottons on custom page
on change of state of the radio buttons i have to enable disable some other elements. i used NOTIFY flag and
i have done so using the function ValidateDatabaseDialog.
Page custom SelectDatabaseDialog ValidateDatabaseDialog ""
now i want to use another functon which is supposed to be inveoked on Next button click of the Custom Page
RanadheerMachi
24th September 2009 12:12 UTC
either u can tell me how to avoid tab shifting (control/focus shifting using the Tab button on key board) even after setting the Radio button Notify flag