Re: Auto-fill Date Values In Form

2010-11-06 Thread Adam
Thanks Cricket, I tried the lot, debugging $this-data as well, but even when it wasn't selecting the date from $this-data the form would still save correctly - so the field had to have been correct. Oh well, hopefully it's never an issue again. It's only a few more lines of code than I would

Re: Auto-fill Date Values In Form

2010-11-05 Thread cricket
On Fri, Nov 5, 2010 at 12:33 AM, Adam adamcbre...@gmail.com wrote: Thanks Paul, I really wanted it in a standard, form-helper format - - MM - DD drop-downs. I spent more time on it than i wanted to so in the end I just exploded the date value from the DB and manually assigned them each

Re: Auto-fill Date Values In Form

2010-11-04 Thread WebbedIT
Exactly how are you wanting the date field to appear in the form? text field, split into select fields etc. The form helper should do all this for you. You may also find this bakery article of interest:

Re: Auto-fill Date Values In Form

2010-11-04 Thread Adam
Thanks Paul, I really wanted it in a standard, form-helper format - - MM - DD drop-downs. I spent more time on it than i wanted to so in the end I just exploded the date value from the DB and manually assigned them each to day, month and year form-inputs with their set values. Like I said

Auto-fill Date Values In Form

2010-11-03 Thread Adam
I'm having trouble auto-filling the form input with the date value that's already been saved in the database. Simply, I've saved a selected date, but when I return to edit it, the date defaults to today's date. I've never had a problem with the auto-filling forms before, but for some reason this