dantra
04-27-2007, 03:54 AM
I created a document using Acrobat Designer with a submit button. How do change the XML that the form created. It's a mailto:, I would like to change that so spammers won't read the e-mail. Here is what the document created
<submit format="xml" target="mailto:someone@somewhere.com?subject=Submission From Registration Form To "my final destination" (here)" textEncoding="UTF-8"/>
I would like to create a mailto: in JavaScript so I won't get spammed but don't know how to implement it back into the document.
here is what i have so far:
<script language="JavaScript">
<!--
var name = "someone";
var domain = "somewhere.com";
document.write('<a href=\"mailto:' + name + '@' + domain + '\">');
document.write(name + '@' + domain + '</a>');
// -->
</script>
I would also like to know how to change a regular hyperlink to xml so it will show up as a link in the doucment but in a xml language that it understands. (hope i made myself clear).:confused:
<submit format="xml" target="mailto:someone@somewhere.com?subject=Submission From Registration Form To "my final destination" (here)" textEncoding="UTF-8"/>
I would like to create a mailto: in JavaScript so I won't get spammed but don't know how to implement it back into the document.
here is what i have so far:
<script language="JavaScript">
<!--
var name = "someone";
var domain = "somewhere.com";
document.write('<a href=\"mailto:' + name + '@' + domain + '\">');
document.write(name + '@' + domain + '</a>');
// -->
</script>
I would also like to know how to change a regular hyperlink to xml so it will show up as a link in the doucment but in a xml language that it understands. (hope i made myself clear).:confused: