![]() |
Sergey Kornilov admin 1/15/2014 |
Unfortunately we do not have such sample code available. |
A
|
Abul author 1/16/2014 |
Unfortunately we do not have such sample code available. Most likely you need to add this code to Details table Add/Edit page JavaScript OnLoad event. Here is the code to enable/disable button: http://xlinesoft.com/phprunner/docs/how_to_enable_disable_a_button.htm
|
![]() |
Sergey Kornilov admin 1/16/2014 |
I can confirm that code added to Details table Add/Edit page Javascript OnLoad event is able to disable/enable Save button of the Master table. |
A
|
Abul author 1/16/2014 |
I can confirm that code added to Details table Add/Edit page Javascript OnLoad event is able to disable/enable Save button of the Master table.
|
A
|
Abul author 1/16/2014 |
Thanks Admin for so quick reply. I used Detail Form as "Inline Add/Edit" only to accommodate into "Tab" folder on Master page. I didn't create any separate Add/Edit page for detail table. How and where then I should put those code on detail table page? Thanks again.
|
![]() |
Sergey Kornilov admin 1/16/2014 |
You need to add your code to 'onchange' event of those required fields. |
A
|
Abul author 1/16/2014 |
You need to add your code to 'onchange' event of those required fields. Take a look at this example: http://xlinesoft.com/phprunner/docs/show_dropdown_list_of_us_states.htm Your code will be fired every time the content of one of fields is changing and this is where you can conditionally enable or disable Save button.
|
![]() |
Sergey Kornilov admin 1/16/2014 |
Unfortunately we do not have sample code tailored for this specific task. You either need to learn a bit of Javascript or to hire someone to do this for you. |