Dear ChronoDevelopers!🙂
1. Big Human thanks for ChronoForms - it's really cool thing (but it need some features, imho🙂 )
2. Sorry for my english
3. I use tabled design in email template. And when i leaved some fields in the form empty, then results in the resived email displays incorrectly, like this (this is screenshot of my email program with recived email):
In this example fields "Date of Birth", "Nationality", "Height", "Weight", "Addres", "Contact numbers" and "Nearest airport" are empty.
So, my question is (subj): How to replace ALL empty fields in Email template?
For example, with 'nbsp' or with somethig else, like — ?<br><br>Post edited by: adrobinkin, at: 2008/02/28 23:46
1. Big Human thanks for ChronoForms - it's really cool thing (but it need some features, imho🙂 )
2. Sorry for my english
3. I use tabled design in email template. And when i leaved some fields in the form empty, then results in the resived email displays incorrectly, like this (this is screenshot of my email program with recived email):

In this example fields "Date of Birth", "Nationality", "Height", "Weight", "Addres", "Contact numbers" and "Nearest airport" are empty.
So, my question is (subj): How to replace ALL empty fields in Email template?
For example, with 'nbsp' or with somethig else, like — ?<br><br>Post edited by: adrobinkin, at: 2008/02/28 23:46
So, answer to myself🙂
I found a particular solution here in this forum and modified it (with help of O'Reilly JavaScript Reference) for my own needs. So here it is:
I have a form with about 50-60 fields and this code still working fine only in Safari 3.
Working in IE and Fiefox need to be tested.
But, i hope this is may be useful for somebody else.<br><br>Post edited by: adrobinkin, at: 2008/02/29 03:20
I found a particular solution here in this forum and modified it (with help of O'Reilly JavaScript Reference) for my own needs. So here it is:
function checkForm(form) {
for (var i = 0; i < form.elements.length; i++) {
if (form.elements[i].value == ""«») {
form.elements[i].value =" ";
}
}
}
return true;
I have a form with about 50-60 fields and this code still working fine only in Safari 3.
Working in IE and Fiefox need to be tested.
But, i hope this is may be useful for somebody else.<br><br>Post edited by: adrobinkin, at: 2008/02/29 03:20
Hi adrobinkin,
Neat solution🙂
I think that you can also do this by putting spaces in your template like
Bob
Neat solution🙂
I think that you can also do this by putting spaces in your template like
<td>{field_name} </td>
Bob
Sacred simplicity :laugh: It's working!
Big Human thanks, Bob
Big Human thanks, Bob
This topic is locked and no more replies can be posted.