<div>There is a duration module:</div>
<div><a href="http://drupal.org/project/duration">http://drupal.org/project/duration</a><br><br></div>
<div class="gmail_quote">On Fri, May 13, 2011 at 4:21 AM, Steven Jones <span dir="ltr">&lt;<a href="mailto:steven.jones@computerminds.co.uk">steven.jones@computerminds.co.uk</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hello,<br><br>Thanks for the responses, but going back to my original question:<br><br>&gt; Is there any module out there that provides a generic &#39;interval&#39; form element?<br>
<br>The answer seems to be: &#39;No&#39;. I might write one.<br><br><br>Regards<br>Steven Jones<br>ComputerMinds ltd - Perfect Drupal Websites<br><br>Phone : 024 7666 7277<br>Mobile : <a href="tel:07702%20131%20576" value="+17702131576">07702 131 576</a><br>
Twitter : darthsteven<br><a href="http://www.computerminds.co.uk/" target="_blank">http://www.computerminds.co.uk</a><br><br><br><br>On 12 May 2011 16:29, Cameron Eagans &lt;<a href="mailto:cweagans@gmail.com">cweagans@gmail.com</a>&gt; wrote:<br>
&gt; Check out date_repeat, which comes as a part of the date module.<br>&gt; Thanks,<br>&gt; Cameron<br>&gt;<br>&gt;<br>&gt;<br>&gt; On Thu, May 12, 2011 at 01:45, Hai-Nam aka jcisio &lt;<a href="mailto:jcisio@gmail.com">jcisio@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>&gt;&gt; Le 12/05/2011 08:32, Steven Jones a écrit :<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; I&#39;ve looked at core, and it just uses some custom code each time to<br>&gt;&gt; &gt; generate a list of intervals and pop them in a select list. I&#39;ve also<br>
&gt;&gt; &gt; looked at other contrib modules and some of them just provide a<br>&gt;&gt; &gt; textfield and others provide a textfield for numeric input and a<br>&gt;&gt; &gt; select list for &#39;units&#39;. There doesn&#39;t seem to be a catch-all solution<br>
&gt;&gt; &gt; that I can find, and everyone seems to implementing intervals in a<br>&gt;&gt; &gt; slightly different way.<br>&gt;&gt; &gt;<br>&gt;&gt;<br>&gt;&gt; In one of my module, I use a select list with prefined values to quickly<br>
&gt;&gt; fill a textfield with a choice. Then user can modify this textfield if<br>&gt;&gt; they don&#39;t like any of these predefined values.<br>&gt;&gt;<br>&gt;&gt; Take a look at<br>&gt;&gt; <a href="http://drupal.org/project/hidden_comment" target="_blank">http://drupal.org/project/hidden_comment</a><br>
&gt;&gt;<br>&gt;&gt; --<br>&gt;&gt; Hai-Nam Nguyen aka jcisio<br>&gt;&gt; <a href="http://jcisio.com/" target="_blank">http://jcisio.com</a><br>&gt;<br>&gt;<br></blockquote></div><br>