Jump to content

[SOLVED] form multiple submit field with maximum value


shadiadiph

Recommended Posts

can anyone tell me how to do this can't think

 

I have a form submit field

echo '<tr><td class="file"><input type="file" name="fileatt[]" value="" /></td><td class="picdes"><input type="text" name="desfileatt[]" value="" /></td></tr>';

 

I want to allow it to repeat a maximum of 4 times on the first submit but so i can change the value of the maximum amount of times it is shown for a second submit depending on how many files have been uploaded i was thinking about using for $i=0 but not sure how to do this with a form element can anyone point me in the right direction?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.