Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Something goes wrong with this line in the sending form template. I have no idea how to solve it ... anyone? THX :-)
case "FieldType.DatePicker.cshtml": <p style="margin-top:0;"> @(Convert.ToDateTime(field.GetValue()).ToString("f")) </p> break;
Hi Jon
What type of error?
Alex
I suspect its null in the date field, did you manage to fix it ?
you need to check its value, then only do the convert to datetime - if its not null
Regards
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Date error when sending form mail
Something goes wrong with this line in the sending form template. I have no idea how to solve it ... anyone? THX :-)
Hi Jon
What type of error?
Alex
I suspect its null in the date field, did you manage to fix it ?
you need to check its value, then only do the convert to datetime - if its not null
Regards
is working on a reply...