Re: Limiting file uploads on a given submit
Nancy Wichmann <[email protected]> Wed, 14 Jan 2015 06:06:13 -0800
| Newsgroups | gmane.comp.php.drupal.support |
|---|---|
| Message-ID | <[email protected]> |
--===============7504768876756948865== Content-Type: multipart/alternative; boundary="876660292-1611268197-1421244373=:74897" --876660292-1611268197-1421244373=:74897 Content-Type: text/plain; charset=us-ascii They need to be able to upload another file on the next update, so setting it to one doesn't work. >________________________________ > From: muhammed naushad <[email protected]> > > >You can set maximum number of values users can enter for this field to be one. > > >Go to admin >> select the field from content type >> update the number of values > > > >If you want to keep this settings as unlimited then you can use form validation function. > > --876660292-1611268197-1421244373=:74897 Content-Type: text/html; charset=us-ascii <html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div><span>They need to be able to upload another file on the next update, so setting it to one doesn't work.<br></span></div><div> </div><br><div></div><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div class="y_msg_container"> <hr size="1"> <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></ b> muhammed naushad <[email protected]><br><b><span style="font-weight: bold;"></span></b></font><br><div id="yiv5183433748"><div><div dir="ltr">You can set maximum number of values users can enter for this field to be one. <div><br clear="none"></div><div>Go to admin >> select the field from content type >> update the number of values<br clear="none"><div><br clear="none"></div><div>If you want to keep this settings as unlimited then you can use form validation function. </div><br></div></div></div></div><br></div> </div> </div> </blockquote><div></div> </div></body></html> --876660292-1611268197-1421244373=:74897-- --===============7504768876756948865== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- [ Drupal support list | http://lists.drupal.org/ ] --===============7504768876756948865==--