form calendar?

form calendar?

am 18.01.2008 04:49:50 von jgosfo

Greetings,

I'm currently building a purchase order system using php and mysql.
Each order created needs to have an associated date. I'm looking for
a small calendar application, to be incorporated within a html form.
It should display the current date, when the page loads and should
allow the form user to select a date, which will be submitted with the
form and stored in the database. I've been using drop down boxes, but
my client seems to think a calendar display would be more user
friendly.

Has anyone used/built such an application in the past? Any
recommendations? I'm hoping to use freeware in this instance.

Grazie mille,

Justin

Re: form calendar?

am 18.01.2008 05:51:56 von Larry Anderson

On Jan 17, 7:49 pm, jgo...@gmail.com wrote:
> Greetings,
>
> I'm currently building a purchase order system using php and mysql.
> Each order created needs to have an associated date. I'm looking for
> a small calendar application, to be incorporated within a html form.
> It should display the current date, when the page loads and should
> allow the form user to select a date, which will be submitted with the
> form and stored in the database. I've been using drop down boxes, but
> my client seems to think a calendar display would be more user
> friendly.
>
> Has anyone used/built such an application in the past? Any
> recommendations? I'm hoping to use freeware in this instance.
>
> Grazie mille,
>
> Justin

I really like this one, though I prefer an older version (0.8)

http://www.rainforestnet.com/datetimepicker.htm

Re: form calendar?

am 18.01.2008 13:59:31 von colin.mckinnon

On Jan 18, 3:49 am, jgo...@gmail.com wrote:
> Greetings,
>
> I'm currently building a purchase order system using php and mysql.
> Each order created needs to have an associated date. I'm looking for
> a small calendar application, to be incorporated within a html form.
> It should display the current date, when the page loads and should
> allow the form user to select a date, which will be submitted with the
> form and stored in the database. I've been using drop down boxes, but
> my client seems to think a calendar display would be more user
> friendly.
>
> Has anyone used/built such an application in the past? Any
> recommendations? I'm hoping to use freeware in this instance.
>

Kind of OT - since the widget is browser side (hence HTML/JS/CSS)

But checkout jscalendar

http://sourceforge.net/projects/jscalendar

(as featured in PfP studio - http://pfp-studio.sourceforge.net/swf_demo.html
)

C.

Re: form calendar?

am 18.01.2008 15:14:54 von Hans-Peter Sauer


<>

<65ae9a75-c836-4118-9a85-922d664e64be@e10g2000prf.googlegroups.com>

> I'm currently building a purchase order system using php and mysql.
> Each order created needs to have an associated date. I'm looking for
> a small calendar application, to be incorporated within a html form.
> It should display the current date, when the page loads and should
> allow the form user to select a date, which will be submitted with the
> form and stored in the database. I've been using drop down boxes, but
> my client seems to think a calendar display would be more user
> friendly.
>

$demo=date("D dS M h:i A",time()+$tip);

$tip can be anything i suppose - but most of the time the value of $tip
is usually something like 86400 as is (one day) in php .

$tip=0;
$demo=date("D dS M h:i A",time()+$tip);
print "the time is $demo
";

$tip=86400;
$demo=date("D dS M h:i A",time()+$tip);
print "the time is $demo
";

$tip=172800;
$demo=date("D dS M h:i A",time()+$tip);
print "the time is $demo
";

And so on and so on .

While the above probably wont be suitable for the actual calendar
display - you can use it to create the date(s) that will be stored in
your database .

Re: form calendar?

am 18.01.2008 15:21:04 von Rob

On Jan 18, 3:49=A0am, jgo...@gmail.com wrote:
> Greetings,
>
> I'm currently building a purchase order system using php and mysql.
> Each order created needs to have an associated date. =A0I'm looking for
> a small calendar application, to be incorporated within a html form.
> It should display the current date, when the page loads and should
> allow the form user to select a date, which will be submitted with the
> form and stored in the database. =A0I've been using drop down boxes, but
> my client seems to think a calendar display would be more user
> friendly.
>
> Has anyone used/built such an application in the past? =A0Any
> recommendations? =A0I'm hoping to use freeware in this instance.
>
> Grazie mille,
>
> Justin

Been using the Zapatec calendar (http://www.zapatec.com/website/main/
products/prod1/index.jsp) for years now, although you're supposed to
add a linkback if you want use the calendar for free.

Rob.

Re: form calendar?

am 18.01.2008 17:46:14 von Manuel Lemos

Hello,

on 01/18/2008 01:49 AM jgosfo@gmail.com said the following:
> Greetings,
>
> I'm currently building a purchase order system using php and mysql.
> Each order created needs to have an associated date. I'm looking for
> a small calendar application, to be incorporated within a html form.
> It should display the current date, when the page loads and should
> allow the form user to select a date, which will be submitted with the
> form and stored in the database. I've been using drop down boxes, but
> my client seems to think a calendar display would be more user
> friendly.
>
> Has anyone used/built such an application in the past? Any
> recommendations? I'm hoping to use freeware in this instance.

You may want to try this forms generation and validation class that
comes with a plug-in that lets the use choose a date and your
application may treat the returned value as a single date. It even
validates the date choosen by the user to be restricted between a start
or end date.

http://www.phpclasses.org/formsgeneration

Here you may see a live example:

http://www.meta-language.net/forms-examples.html?example=tes t_date_input

Here you may watch a tutorial video:

http://www.phpclasses.org/browse/video/1/package/1/section/p lugin-date.html

If you prefer to pick the date from a pop-down calendar, you may also
want to try this plug-in of the same forms class:

http://www.phpclasses.org/plugin_cal_class


--

Regards,
Manuel Lemos

PHP professionals looking for PHP jobs
http://www.phpclasses.org/professionals/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

Re: form calendar?

am 18.01.2008 20:21:28 von Hans-Peter Sauer




<4790D7D6.2090105@acm.org>

> > Has anyone used/built such an application in the past? Any
> > recommendations? I'm hoping to use freeware in this instance.
>
> You may want to try this forms generation and validation class
>

But theres no real need for the user to use a script/app that somebody
else has written as at the end of the day its only 2 dates the user
wants to store .

Sure if hes asking the question then he obviously hasnt done a lot of
time and/or date stuff before .

The chances are he only really needs some helpful pointers in how to
pass the selected info and how to generate the suitable dates .