var nama = new LiveValidation('nama'); nama.add(Validate.Presence); var email = new LiveValidation('email'); email.add(Validate.Presence); email.add(Validate.Email); var hal = new LiveValidation('hal'); hal.add(Validate.Presence); var deskripsi = new LiveValidation('deskripsi'); deskripsi.add(Validate.Presence); var kode = new LiveValidation('kode'); kode.add(Validate.Presence);