กำลังดำเนินการ

Fix Validation in Form (File Field)

Dear Freelancer,

The problem in the form is the following:

Header Image (File Field) should not be mandatory,

but if the user chose to add a header image, then the uploaded file should be validated for type (image file) and Size (<= 250KB)

I have succedded to validate this using the code :

cs_file: { required: true, accept: "image/jpg,image/jpeg,image/png,image/gif", filesize: 262140 },

but in reality i need it to be as follows:

cs_file: { accept: "image/jpg,image/jpeg,image/png,image/gif", filesize: 262140 },

because as i explained earlier this field is optional

For some reason it is not working.

HTML file attached for your reference.

ทักษะ: jQuery / Prototype, PHP

ดูเพิ่มเติม: gif freelancer, freelancer in it field, flash form validation fla file, jquery php form validation file attachment, software write mq4, software write chip epson, javascript form validation php file, useful software write book, dreamweaver file field update form, software write web specs, mootools form validation file, file upload field submit form directly, free software write user guide, software write edid, simple php empty field form validation, file upload field contact form, free software write company profile, software write websites idea, file uploading spring form validation, spring form validation file upload, software write book images, form validation textarea field example, software write books, need required field contact form, software write protection

เกี่ยวกับผู้ว่าจ้าง:
( 90 บทวิจารณ์ ) EBX, United Arab Emirates

หมายเลขโปรเจค: #10973618

มอบให้กับ:

$10 USD ใน 0 วัน
(1 บทวิจารณ์)
0.7

9 freelancers are bidding on average $21 for this job

Speedycom

Hi there. I'm Alex. I can help you with this and I'm ready to start anytime. Please don't hesitate to check my feedback page and see what other clients are writing about me. Thank you. Cheers. Alex

$30 USD ใน 0 วัน
(113 บทวิจารณ์)
6.6
HiFiDesigner

I am checking your "[url removed, login to view]" file. I am available to start this job right now. I am currently online please contact me via [url removed, login to view] chat. For the time being please have a look at my Point Of Sale application เพิ่มเติม

$30 USD ใน 1 วัน
(238 บทวิจารณ์)
6.5
PhungTran

Hi, i can fix this IMMEDIATELY. Please hire me to get this done right now. Thank you ! .

$20 USD ใน 1 วัน
(454 บทวิจารณ์)
6.8
DevRk

I can solve this issue within 1 hour max.. I have almost 7 year experience in web developement.. You can check my profile for 100% surity... I have files.. either you give me or not.. i am doing .. :-) Thank เพิ่มเติม

$25 USD ใน 1 วัน
(20 บทวิจารณ์)
4.3
hatem87

Hi, I am software engineer. I can fix the problem of image upload. Can do this tonight. Thanks, Hatem.

$10 USD ใน 1 วัน
(7 บทวิจารณ์)
4.5
yasinadam

Hey Buddy, Great problem you have here. I looked at your code, I can help you do this. I love jQuery it's really hackable. Let me do this for you and I will explain how I did it and give you some valuable jQuery tip เพิ่มเติม

$25 USD ใน 1 วัน
(6 บทวิจารณ์)
3.4
zeeroq001

hello client. i have done more then 50 projects based on php. i have 7 years experience in php. thanks and regards:- rahul agarwal

$25 USD ใน 1 วัน
(4 บทวิจารณ์)
2.2
$25 USD ใน 1 วัน
(2 บทวิจารณ์)
2.0
hyadesfreelancer

PHP,PDO, Core-php, CakePHP, CodeIgniter, Laravel, Yii, Mysql, HTML, HTML5, CSS, JavaScript, Angular js, jquery, AJax, Joomla, E-Commerce, Content Management System, Magento, Wordpress, Woo-commerce, PrestaShop, Drupal เพิ่มเติม

$15 USD ใน 0 วัน
(0 บทวิจารณ์)
0.0