You have to bind change events with js on those fields and disable/enable submit button. Active scaffold adds a class with column name to each input ([column_name]-input) which you can use to bind events to. For example with jQuery:
$(document).on('change', '.column-input', function {
if (...) {
$(this).closest('form').find('.submit').prop('disabled', true);
}
});
> --
> You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails Gem" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to activescaffol...@googlegroups.com.
> To post to this group, send email to actives...@googlegroups.com.
> Visit this group at https://groups.google.com/group/activescaffold.
> For more options, visit https://groups.google.com/d/optout.