I'm looking to create an automagic date field, but I only want to show
the month and year selects. The user doesn't need to see or pick a
day. I have used the date and year type inputs for other things, but
they are kind of inconvenient and it would be nice to treat the date
info like all the
@CraigFisher: I ended up going readonly too - using the field as
disabled was not quite as intuitive as I was hoping. It wasn't any
harder and selecting it for styling it was easy.
@mscdex: I was looking for a generic form related attribute. id would
be a better example than width, but there's
make it hidden?
On Mon, Mar 2, 2009 at 11:01 AM, FranktheTank
frankbirchstu...@gmail.com wrote:
@CraigFisher: I ended up going readonly too - using the field as
disabled was not quite as intuitive as I was hoping. It wasn't any
harder and selecting it for styling it was easy.
@mscdex
On Mar 2, 1:54 pm, brian bally.z...@gmail.com wrote:
On Mon, Mar 2, 2009 at 1:39 PM, FranktheTank frankbirchstu...@gmail.com
wrote:
Because I want to show the data as part of the form, for reference. I
don't want it modified.
In this case, it's an id number and a created date
I am looking to display some data in a form and I'd like to include
some non editable data in a disabled input box. My client likes the
consistent look of the page and I'd like to output this data, along
with the rest of the editable data, for reference. Is there a simple
way to use
, Marcelo Andrade mfandr...@gmail.com wrote:
On Mon, Feb 16, 2009 at 5:01 PM, FranktheTank
frankbirchstu...@gmail.com wrote:
(..) Is there a simple
way to use $form-input() to display adisableinputbox?
Something like that in your view must work:
echo $form-input( 'Model.fieldname', array
I do realize that the disabled field won't get posted, and I don't
want it to - it's the automatically generated Created date, and I
just wanted to show what that date is, and it's convenient to do so
right on the form.
So if I were to use the 'readonly' option, the data appears on the
form and
On Feb 16, 5:31 pm, FranktheTank frankbirchstu...@gmail.com wrote:
I do realize that the disabled field won't get posted, and I don't
want it to - it's the automatically generated Created date, and I
just wanted to show what that date is, and it's convenient to do so
right on the form.
So if I
Short of performing surgery on the URI, how can I determine the model
which has called the current view? I'd like to add it to my default
layout so I can automate some tabs.
Thanks.
Frank
--~--~-~--~~~---~--~~
You received this message because you are subscribed