Render date field as TEXT with day of week, but use Datepicker to select date Is it possible to add a datepicker to a date field that I’m rendering as TEXT?I have a date field, and I’m using this custom renderer to render it as the text of the weekday:
var field = arguments[0],&nbsp; &nbsp; model = field.model,<br>&nbsp; &nbsp; condition = model.getConditionByName('Date'),<br>&nbsp; &nbsp; value = condition.value,<br>&nbsp; &nbsp; d = (value == 'TODAY') ? new Date() : skuid.time.parseSFDate(value);<br>$ = skuid.$;<br>var weekday = new Array(7);<br>weekday[0]= &nbsp;"Sunday";<br>weekday[1] = "Monday";<br>weekday[2] = "Tuesday";<br>weekday[3] = "Wednesday";<br>weekday[4] = "Thursday";<br>weekday[5] = "Friday";<br>weekday[6] = "Saturday";<br>var value = weekday[d.getDay()];<br>skuid.ui.fieldRenderers.TEXT.read( field, value );
I’d like to be able to use a datepicker to also select the date.This will get tricky, because you’ll note I’m getting the