Timeline for Magento 2 : Image Validation is not working in back end form
Current License: CC BY-SA 4.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 10, 2018 at 5:16 | vote | accept | Mujahidh | ||
May 10, 2018 at 4:41 | history | edited | Chirag Patel | CC BY-SA 4.0 |
added 95 characters in body
|
May 9, 2018 at 11:08 | comment | added | Mujahidh | Let us continue this discussion in chat. | |
May 9, 2018 at 10:37 | comment | added | Chirag Patel | Make sure, if you give $form->setHtmlIdPrefix(); then also include prefix name with ID. | |
May 9, 2018 at 10:29 | comment | added | Mujahidh | i checked , id was page_banner_image_mobile, but still i can submit the form without uploading the image | |
May 9, 2018 at 10:02 | comment | added | Chirag Patel | I think there is a problem with your field id mentioned in script, alert in JavaScript code and check field id is correct or not, because this code working for me. | |
May 9, 2018 at 9:59 | comment | added | Mujahidh | still allow me to submit the form without upload the image | |
May 9, 2018 at 8:40 | comment | added | Chirag Patel | @Mujahidh still getting error? | |
May 9, 2018 at 7:20 | comment | added | Chirag Patel | check my updated answer and compare with your current code. | |
May 9, 2018 at 7:19 | history | edited | Chirag Patel | CC BY-SA 4.0 |
deleted 29 characters in body
|
May 9, 2018 at 7:06 | comment | added | Mujahidh | thanks for your answer.I am getting this error Parse error: syntax error, unexpected ''disabled'' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in D:\xampp\htdocs\tork\app\code\E25media\Bannermanager\Block\Adminhtml\Banners\Edit\Tab\Main.php on line 159 | |
May 9, 2018 at 6:49 | history | edited | Chirag Patel | CC BY-SA 4.0 |
added 751 characters in body
|
May 9, 2018 at 6:37 | history | answered | Chirag Patel | CC BY-SA 4.0 |