Check out date_repeat, which comes as a part of the date module.<div><br clear="all">Thanks,<br>Cameron<br><br>
<br><br><div class="gmail_quote">On Thu, May 12, 2011 at 01:45, Hai-Nam aka jcisio <span dir="ltr">&lt;<a href="mailto:jcisio@gmail.com">jcisio@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Le 12/05/2011 08:32, Steven Jones a écrit :<br>
<div class="im">&gt;<br>
&gt; I&#39;ve looked at core, and it just uses some custom code each time to<br>
&gt; generate a list of intervals and pop them in a select list. I&#39;ve also<br>
&gt; looked at other contrib modules and some of them just provide a<br>
&gt; textfield and others provide a textfield for numeric input and a<br>
&gt; select list for &#39;units&#39;. There doesn&#39;t seem to be a catch-all solution<br>
&gt; that I can find, and everyone seems to implementing intervals in a<br>
&gt; slightly different way.<br>
&gt;<br>
<br>
</div>In one of my module, I use a select list with prefined values to quickly<br>
fill a textfield with a choice. Then user can modify this textfield if<br>
they don&#39;t like any of these predefined values.<br>
<br>
Take a look at<br>
<a href="http://drupal.org/project/hidden_comment" target="_blank">http://drupal.org/project/hidden_comment</a><br>
<font color="#888888"><br>
--<br>
Hai-Nam Nguyen aka jcisio<br>
<a href="http://jcisio.com" target="_blank">http://jcisio.com</a><br>
</font></blockquote></div><br></div>