Hi I'm developing a XDP Form to be depolyed under XHTML, and I cannot find a way to clear a Date/Time Fields current value using Javascript.
I've tried fieldname.rawValue = "", fieldname.value = "", and fieldname.formattedValue = "", and = null for all properties mentioned. These do seem to visually remove the date's value (or put the string "null"), However when a server side script tries to read the value (should be empty) from the date/time field it still returns the original date value.
I've also tried combinations of xfa.host.resetData(), which only partially works if the date field had an original value of empty not if it was populated with a value, plus it seems to clear all the other fields on the form which is not desireable.
Is there any way to delete the Date/time fields value client side?
Any ideas would be greatly appreciated?
Views
Replies
Total Likes
Works fine for me .....can you post your form and I will have a look?
Paul
Views
Replies
Total Likes
Thanks for your prompt response.
I've attached my sample test which contains details of the problem, and how to reproduce.
Views
Replies
Total Likes
Attachment
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Likes
Replies