[OGo-Users] Default Appointment Types and Requiring an Appointment Type

Jeff users@opengroupware.org
Thu, 13 Mar 2008 10:18:58 -0400


------=_Part_14738_2236681.1205417938934
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Thu, Mar 13, 2008 at 9:56 AM, Adam Tauno Williams <adam@morrison-ind.com>
wrote:

The default appointment types are defined in WebUI/Main/OpenGroupware.m

<snip>

Thanks for the list, that's what I was looking for!

> 3) I'd like to force the choosing of an appointment type.  I'd like to
> > keep the "- unspecified -" as the default, and throw a javascript
> > error if that's chosen, blocking the submission of the form.  Has
> > anyone done this before?  A patch would be awesome.  Or if no one has
> > done it, any tips would be great.
>
> I think this has come up before,  but I don't recall anything specific.
>
> Maybe
> http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=1759
>
> Setting a default appointment type certainly seems like a reasonable
> request;  which is more general then forcing a type to be chosed (which
> bug#1759 wants)


The benefit of making the default remain the "-unspecified-" but not allow
it to be submitted is that it forces the user to actually think what the
appointment type is.  I would imagine if the default were "meeting" you'd
have some people leaving the default when it should be something else.

Plus I believe I saw a bug if you remove the "none" then the show "all
types" on the scheduler disappears?  Maybe that's been fixed.  But I
definitely would want to leave the "all types" on the scheduler view.

Thanks,
Jeff

------=_Part_14738_2236681.1205417938934
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<br><br><div class="gmail_quote">On Thu, Mar 13, 2008 at 9:56 AM, Adam Tauno Williams &lt;<a href="mailto:adam@morrison-ind.com" target="_blank">adam@morrison-ind.com</a>&gt; wrote:<br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


The default appointment types are defined in WebUI/Main/OpenGroupware.m</blockquote><div>&lt;snip&gt;<br><br>Thanks for the list, that&#39;s what I was looking for!<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>&gt; 3) I&#39;d like to force the choosing of an appointment type. &nbsp;I&#39;d like to<br>
&gt; keep the &quot;- unspecified -&quot; as the default, and throw a javascript<br>
&gt; error if that&#39;s chosen, blocking the submission of the form. &nbsp;Has<br>
&gt; anyone done this before? &nbsp;A patch would be awesome. &nbsp;Or if no one has<br>
&gt; done it, any tips would be great.<br>
<br>
</div>I think this has come up before, &nbsp;but I don&#39;t recall anything specific.<br>
<br>
Maybe<br>
<a href="http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=1759" target="_blank">http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=1759</a><br>
<br>
Setting a default appointment type certainly seems like a reasonable<br>
request; &nbsp;which is more general then forcing a type to be chosed (which<br>
bug#1759 wants)</blockquote><div><br>The benefit of making the default remain the &quot;-unspecified-&quot; but not allow it to be submitted is that it forces the user to actually think what the appointment type is.&nbsp; I would imagine if the default were &quot;meeting&quot; you&#39;d have some people leaving the default when it should be something else.<br>
<br>Plus I believe I saw a bug if you remove the &quot;none&quot; then the show &quot;all types&quot; on the scheduler disappears?&nbsp; Maybe that&#39;s been fixed.&nbsp; But I definitely would want to leave the &quot;all types&quot; on the scheduler view.<br>
<br>Thanks,<br>Jeff<br><br></div></div>

------=_Part_14738_2236681.1205417938934--