add ajax for subimt criteria