Hi,
I have a form that I am submitting - where occasionally there will be a problem connecting to the remote server, when this happens the form should return to the user and provide a friendly message with an alternative.
It looks as though invisimail is filtering the email address returned to the form by the form_set_error function, with invisimail disabled I get the following:
<input type="email" class="form-text" maxlength="128" size="30" value="ian@foobar.com" name="email" id="email" placeholder="Email Address">
<input type="email" mailto:ian@foorbar.com"="" value="<a href=" name="email" id="email" placeholder="Email Address">
I'm unsure why invisimail touches the email address at this point? I would assume that it's just working as a text filter on the text types I have assigned it to?
Any help appreciated.
Comments
Comment #0.0
IanNorton CreditAttribution: IanNorton commentedAdding code wrapping tags.
Comment #1
harshil.maradiya CreditAttribution: harshil.maradiya commentedHello IanNorton,
Would you please provide exact steps for how should i reproduce this issue
As per your information i was trying to reproduce with webform module but dint face any issue in form_set_error .
If you provide all necessary information and steps to reproduce this will help so much to resolve issues.
Please let me know if you need more information.
Thanks & Regards
Harshil
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedOur email links (created in WSIWYG as mailto links) are turning into encoded messes also. For some reason it is adding the base url for our site to the email.
WYSIWYG source:
<p>For more information, contact Nicole Miller at 352-797-5174 or <a href="mailto:millern@phsc.edu">email</a>.</p>
Display source:
Not sure why, but I redid this one and it corrected itself. The example below displays correctly in the browser.
WYSIWYG source:
<p><strong>Are you ready to get started? Schedule a consultation with a program specialist by calling 727-816-3227 or via <a href="mailto:tradegrant@phsc.edu">email</a>.</strong></p>
Display source:
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedI'm good. Thanks to some comments on a bug report. I had no idea where to configure invisimail...
This is what I did...
Configuration -> Text Formats -> Configure
Uncheck: Encode email addresses: Javascript-wrapped HTML entities
Check: Encode email addresses: HTML entities
Drag the Encode option down to the bottom of the FILTER PROCESSING ORDER.
Save.
I instructed my users to just enter the email in text, not try to link it to an email address.
Looks like everything is fine.