add editable and require total in list ajax