I have a text field on my form that has the current date and time. I have set this field to be read only. I would like to save this value in the Database and I would like to include this value in the email that is sent but the value is never passed via email or to the database.
I'm setting this field to readonly with some JS onload. If I don't make it readonly it saves and emails the value.
window.addEvent('load', function() {
// function to enable and disable the submit button
// disable the submit button on load
$('txtDateTimeReferral').readOnly = true;
});
I'd like to keep it as readonly and still email and save the value, any suggestions?
Thx,
Jonathan
I'm setting this field to readonly with some JS onload. If I don't make it readonly it saves and emails the value.
window.addEvent('load', function() {
// function to enable and disable the submit button
// disable the submit button on load
$('txtDateTimeReferral').readOnly = true;
});
I'd like to keep it as readonly and still email and save the value, any suggestions?
Thx,
Jonathan