Limiting file uploads on a given submit

Nancy Wichmann <[email protected]> Tue, 13 Jan 2015 21:01:44 -0800
Newsgroups gmane.comp.php.drupal.support
Message-ID <[email protected]>
--===============2902269713806747009==
Content-Type: multipart/alternative;
	boundary="-915665055-56466854-1421211704=:99477"

---915665055-56466854-1421211704=:99477
Content-Type: text/plain; charset=us-ascii

I have a file field that has unlimited cardinality (and needs to). But I need to only allow one upload per submission. Does anyone know how to do this?
---915665055-56466854-1421211704=:99477
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>I have a file field that has unlimited cardinality (and needs to). But I need to only allow one upload per submission. Does anyone know how to do this?<br></span></div><div>&nbsp;</div><br></div></body></html>
---915665055-56466854-1421211704=:99477--

--===============2902269713806747009==
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/ ]
--===============2902269713806747009==--