Questions tagged [datefield]

307 questions
0
votes
2 answers

GXT DateField not working inside a modal DialogBox

I have the following code snippet - Button testButton = new Button("Test"); testButton.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent event) { final DialogBox box = new DialogBox(); …
ankurvsoni
  • 2,064
  • 3
  • 18
  • 22
0
votes
1 answer

Add Datefield custom field to Event page in Silverstripe

I have tried for the past few days adding a custom datefield to my event page using the following articles: http://www.silverstripe.org/data-model-questions/show/14274 http://doc.silverstripe.org/framework/en/trunk/reference/datefield My final…
Joe Saad
  • 1,940
  • 3
  • 22
  • 32
0
votes
1 answer

Setting up media path in Django to object DateField information

I am trying to setup an user-uploaded class through the backend as Django admin. I am trying to make it so the path of the ImageField is based on the user-inputted DateField information; this is what I have. from django.db import models from…
wmlk
  • 1
  • 1
  • 2
0
votes
1 answer

Tapestry Extensions (TapX) DateField cannot parse valid DateFormat

I'm experiencing an issue with using tapx-datefield, more accurately, improved DateField component. My TML:
ioreskovic
  • 5,531
  • 5
  • 39
  • 70
0
votes
2 answers

ExtJs 3.4 : Set String type date as the value of a date field

I have Json data which is retrieving from database by sending an Ajax request. {'tourData':[{ 'code' : '6', 'ref' : '22/01/2014 09:08:54-Route 2', 'vehicle' : 'GY-122-120', 'fromDate' : '2014-01-22 00:00:00', 'toDate' : '2014-01-22 00:00:00',…
Rose18
  • 2,892
  • 8
  • 47
  • 98
0
votes
1 answer

SPD workflow to reset check box

I have a sharepoint list that uses a cascading lookup to display items from another list in the first list. I need to reset the checkbox on the item in the lookup display box in the every week beginning with a date in the "Start Date" field. Is it…
0
votes
2 answers

datefield submitted as empty string extjs 4

i've been scanning this site looking for solution but the problem persists. I have two datepicker in a form, they should submit a date when the form is submitted, but: start= Ext.util.Format.date(Ext.getCmp('start').getValue(),'Ymd'); …
softwareplay
  • 1,379
  • 4
  • 28
  • 64
0
votes
1 answer

combining two values in a form extjs 4.1

i have just built a form with two values, one is a period of time and the other is the name of a client. Now i wanted to change the textfields that they are made by with a datefield and a dropdown menu. The dropdown menu is made but for the field…
softwareplay
  • 1,379
  • 4
  • 28
  • 64
0
votes
1 answer

Extjs MVC : Dates showing in grid but loadRecord() cannot load them into form component when clicked

having a bit of a problem here with what should be a pretty simple solution. I have a Contract Model with two date fields : { name: 'startDate', type: 'datetime', dateFormat: 'M d Y'}, { name: 'endDate', type: 'datetime', dateFormat: 'M d…
Daryl Leak
  • 80
  • 9
0
votes
1 answer

ExtJS 3 dateDisabled from store

Can someone please help me. I'm trying to assign dynamically the value of disabledDates attribute of my datefield xtype: 'datefield', disabledDates: disabledDates This is the code to get the store and build the dynamic "disabledDates" array var…
Lobosan
  • 135
  • 2
  • 13
0
votes
1 answer

Load Current year(Instead of 1900) in Flex DateField when tab out for partially entered date

In Flex Date Field i have entered partial date like below 12/15/ 12-15- then date is loaded as 12/15/1900 for the above both cases when focusing out from flex DateField. but i would like to load entered date with current year instead of 1900(Eg :…
Sasikumar Murugesan
  • 4,412
  • 10
  • 51
  • 74
0
votes
0 answers

Setting two date fields with a if statement

I have a rental lease form (adobe acrobat) with three different fields. One is a dropdown list where the user can select either a 1 year lease term or a 2 year lease term . The other two are date fields. The first one is a lease commencement date…
0
votes
1 answer

Datefield error value from db

i try populate a datefield from db value. The db value is: '1940-09-17', the datefield is: { fieldLabel: 'Fecha de nacimiento', name: 'fechaNacimiento', xtype: 'datefield', allowBlank: false, format: 'Y-m-d'} But when show the datefield, the…
ramiromd
  • 2,019
  • 8
  • 33
  • 62
0
votes
1 answer

Filling DateField and TimeField, according to a format, with incoming data

I have a datefield and a timefield in my ExtJS form and I have to fill them with data sent from the server. The server sends data in the following format (via Ajax): date=2013-05-10T00:00:00.000+04:00,time=1970-01-01T00:30:00.000+03:00 How do I get…
noncom
  • 4,962
  • 3
  • 42
  • 70
0
votes
2 answers

ExtJS 4.2 apply DateField to input form field

I am trying to convert my application from 3.1 to 4.2 and can't seem to figure out what needs to be modified in place of the 'applyto'. I have tried variations of renderto and contentel but can't seem to figure it out. With 4.2 nothing seems to…
Fabian
  • 1
  • 1