Enable save button on form change
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:
1
2
3
$('#wwvFlowForm').on('input change', function() {
$('#saveBtn').attr('disabled', false);
});
Simple but effective.