Discussion on Ajax Contact Form with attachments 2.0

82 comments found

  • Bought between 50 and 99 items
  • Has been a member for 1-2 years

Looks like a greats script. Is the drag and drop compatible with ipad/iphone etc?

Default-user
Hi,

Yes the drag and drop features are ready for touch sreen. Make a test on your ipad or iphone you will see that the drag and drop fetaure works.

  • Bought between 1 and 9 items
  • Has been a member for 0-1 years

Hello , Per xrdm enquiry about making attachments required , the link doesn’t work to examples , do you have code to set this to required? Via Jquery!

Default-user
Hi,

You can find form examples in the download package or here: http://jquery.demos-sites.net/jquery_w2Contact_form_preview_demo/

You can use required file field by using this HTML code:

<div class="block_element_form"> 
   <label for="file" class="label_text">File required<span class="required_sign">>*</span></label>
   <input id="file" name="file" class="custom_file" type="file" data-rule-required="true" />
</div>

Let me know if it is what you need.

Default-user

That’s perfect , is there anyway to get this working with the “Add Attachment” ajax button with notifications instead of “choose a file”? Thnx!

Default-user
Hi,

Sorry there is no simple way to use this method with the “add attachments” button because the file fields are added dynamically on the form. So you can’t be sure that the user will click on the “add attachments” button and that he won’t click on the “remove field” icon before to submit the form.

Default-user

Ahh ok no problem ,thanks!

by
by
by
by
by
by