How can I make the calendar field editable for the user?
Forums
Calendar field editable for the user
this is not possible, if you want the field to be editable then you may use a text field with the "input mask" and set the mask to be of the date format you need
Remove the mask options and set a mask variable = dateoptions
Then in a Javascript view you need to define that variable:
document.addEventListener("DOMContentLoaded", function(event) {
dateoptions = {
mask: Date,
lazy: false,
autofix: true,
blocks: {
d: {mask: IMask.MaskedRange, placeholderChar: 'd', from: 1, to: 31, maxLength: 2},
m: {mask: IMask.MaskedRange, placeholderChar: 'm', from: 1, to: 12, maxLength: 2},
Y: {mask: IMask.MaskedRange, placeholderChar: 'y', from: 1900, to: 2999, maxLength: 4}
}
}
})
Thanks for the clarification. I've had this request from two customers now. It might be worth considering this option in a future update.
you mean making the calendar editable ? what about the text mask I provided ? it does not satisfy ?
I'm referring to the date field that can be edited by the user via his keyboard.
what about using a Text field with date type:
https://www.chronoengine.com/forums/topics/view/111090/cf-8-calender-start-day#p405021
You need to login to be able to post a reply.