Showing posts with label file. Show all posts
Showing posts with label file. Show all posts

1 Jan 2014

How To Validate Upload File Using Javascript

Here is my file type field and I have placed in my custom form .So I want to validate that file when user will browse any file means select any file. That event will occurred with onchange event. So I called a java script function check_photo() on onchange events.

3 Nov 2013

Magento : Different Form Fields In Admin Form Part One

In this article I am going to show how to add different form fields that you can use in admin forms
e.g : text,button,radio..etc.
app/code/local/MyNamespace/MyModule/Block/Adminhtml/Mymodule/Edit/Tab/Form.php