Easy Upload Files During Checkout – 1.0.8

Easy Upload Files During Checkout – 1.0.8 (With improved features)

  1. Upload file field available with validation error with Yes/No
  2. Upload file field available with editable validation error
  3. You can make the field required
var player=0;
$.each($('div[id^="Player_"'), function(i, v){ player++;
	if($('div#Player_'+player).length>0){
		if($('div#Player_'+player+' div#p'+player+'_health_doc').length>0){			
			if($('div#wufdc_div li[eufdc_index="player_'+player+'"]').length>0){			
				$('div#Player_'+player+' div#p'+player+'_health_doc').append('
'+$('div#wufdc_div li[eufdc_index="player_'+player+'"]').html()+'
'); }else{ var file_element = $('div#wufdc_div input[name="file_during_checkout[]"').eq(0); file_element.attr('name', 'file_during_checkout[player_'+player+']'); $('div#Player_'+player+' div#p'+player+'_health_doc').append(file_element); } } } }); $('div#wufdc_div').hide();
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s