Post by cristerick » Fri May 16, 2014 12:42 am

selamat tinggal semuanya
Last edited by cristerick on Thu Jun 12, 2014 7:36 am, edited 1 time in total.

........


User avatar
New member

Posts

Joined
Wed Feb 13, 2013 2:55 pm
Location - Indonesia

Post by dunks » Fri May 16, 2014 11:12 am

Coba ganti menjadi

Code: Select all

type="hidden"
untuk form input nya.. bisa gk?

Ingat Gadget, Ingat DroidLime https://www.droidlime.com/


User avatar
Active Member

Posts

Joined
Wed Apr 20, 2011 1:19 pm
Location - Jakarta - Indonesia

Post by cristerick » Mon May 26, 2014 9:55 am

selamat tinggal semuanya
Last edited by cristerick on Thu Jun 12, 2014 7:35 am, edited 1 time in total.

........


User avatar
New member

Posts

Joined
Wed Feb 13, 2013 2:55 pm
Location - Indonesia

Post by cristerick » Sat May 31, 2014 3:08 am

sundul ah siapa tau ada yg kasih solusi :laugh:

........


User avatar
New member

Posts

Joined
Wed Feb 13, 2013 2:55 pm
Location - Indonesia

Post by bogalakon » Sat May 31, 2014 8:11 am

Setiap field yang required itu ada validasinya di file controller.

Contohnya di bagian registrasi akun baru, ketika field "First Name" dikosongin alias gak diisi akan ada error yang keluar.

Error itu muncul karena ada validasi dari file controller-nya (controller/account/register.php), tepatnya di protected function validate().

Kalau dilihat disitu ada kode:

Code: Select all

if ((utf8_strlen($this->request->post['firstname']) < 1) || (utf8_strlen($this->request->post['firstname']) > 32)) {
	$this->error['firstname'] = $this->language->get('error_firstname');
}
Kalau itu dihapus maka error gak akan muncul meski field First Name gak diisi.

New member

Posts

Joined
Mon Mar 21, 2011 11:16 am

Post by dunks » Sun Jun 01, 2014 2:13 am

Gk bisa ya? :D coba lihat2 disini http://forum.opencart.com/viewtopic.php?f=139&t=46467 saya kira kelihatannya terkait deh :)

Ingat Gadget, Ingat DroidLime https://www.droidlime.com/


User avatar
Active Member

Posts

Joined
Wed Apr 20, 2011 1:19 pm
Location - Jakarta - Indonesia

Post by cristerick » Sun Jun 01, 2014 6:13 pm

selamat tinggal semuanya
Last edited by cristerick on Thu Jun 12, 2014 7:34 am, edited 1 time in total.

........


User avatar
New member

Posts

Joined
Wed Feb 13, 2013 2:55 pm
Location - Indonesia

Post by bogalakon » Mon Jun 02, 2014 2:59 am

cristerick wrote:anda tepat, dari dulu oc begini ;D
Terus, bukannya itu berarti menjawab pertanyaan di post #1 ?
apakah ada cara "halus" agar error tsb tidak muncul walau tidak diisi
tl;dr supaya error gak muncul walau tidak diisi ya dihapus validasinya.

New member

Posts

Joined
Mon Mar 21, 2011 11:16 am

Post by cristerick » Mon Jun 02, 2014 2:37 pm

selamat tinggal semuanya

........


User avatar
New member

Posts

Joined
Wed Feb 13, 2013 2:55 pm
Location - Indonesia

Post by jakartawebhosting » Wed Jan 07, 2015 4:18 pm

cristerick wrote:selamat tinggal semuanya
saya jadi bingung ini sama agan.
pertanyaannya mana yah gan ? ??? . kalimatnya "selamt tinggal semuanya" mang mau kemana gan ?? hehehehe

JakartaWebhosting.com Product: Shared Hosting | Reseller Hosting | Cloud Hosting | Dedicated Server | Domain Registration | Opencart Hosting


New member

Posts

Joined
Wed Oct 15, 2014 10:59 am
Who is online

Users browsing this forum: No registered users and 4 guests