Today I had the requirement that the save button should stay disabled until a form item changed.
After digging around I found a quite easy solution which worked well until now.
Save Button
Static ID: saveBtn
Custom Attributes: disabled
Dynamic Action
Event: Page Load
Execute Javascript Code:
$('#wwvFlowForm').on('input change', function() {
$('#saveBtn').attr('disabled', false);
});
Simple but effective.
After digging around I found a quite easy solution which worked well until now.
Save Button
Static ID: saveBtn
Custom Attributes: disabled
Dynamic Action
Event: Page Load
Execute Javascript Code:
$('#wwvFlowForm').on('input change', function() {
$('#saveBtn').attr('disabled', false);
});
Simple but effective.