Title: Hyperlink in Error Message?
Last modified: July 19, 2018

---

# Hyperlink in Error Message?

 *  [pixeldroid](https://wordpress.org/support/users/pixeldroid/)
 * (@pixeldroid)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/hyperlink-in-error-message/)
 * A hyperlink in the error message breaks the plugin.
    For example, these both 
   cause it to fail:
 * `That code is incorrect. Please try again or use <a href="https://themilkmob.
   org/contact//?message=Question about Oct 8 OBC" target="_blank" rel="noopener"
   >use our contact form</a> to request the code.`
 * `That code is incorrect. Please try again or use <a href="https://themilkmob.
   org/contact//?message=Question%20about%20Oct%208%20OBC" target="_blank">use our
   contact form</a> to request the code.`
 * Beggars can’t be choosers, but any chance you could add that capability?
    Thanks.

Viewing 1 replies (of 1 total)

 *  [Amritansh Trivedi](https://wordpress.org/support/users/amritanshatwisetr/)
 * (@amritanshatwisetr)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/hyperlink-in-error-message/#post-10742357)
 * Hello [@pixeldroid](https://wordpress.org/support/users/pixeldroid/),
 * If you want to embed a link in the error message then please make sure it does
   not contains any double quotes.
    place it like that: `That code is incorrect.
   Please try again or use <a href='https://themilkmob.org/contact//?message=Question
   about Oct 8 OBC' target='_blank' rel='noopener'>use our contact form</a> to request
   the code.`
 * here is the working sample
    [https://drive.google.com/file/d/1PsPfgJfNOhOP-wGCG6kCZYSknleAMf6n/view?usp=drivesdk](https://drive.google.com/file/d/1PsPfgJfNOhOP-wGCG6kCZYSknleAMf6n/view?usp=drivesdk)
 * Let us know if that works for you.
    Thanks

Viewing 1 replies (of 1 total)

The topic ‘Hyperlink in Error Message?’ is closed to new replies.

 * ![](https://ps.w.org/real-time-validation-for-gravity-forms/assets/icon-256x256.
   jpg?rev=1472411)
 * [Real Time Validation for Gravity Forms](https://wordpress.org/plugins/real-time-validation-for-gravity-forms/)
 * [Support Threads](https://wordpress.org/support/plugin/real-time-validation-for-gravity-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/real-time-validation-for-gravity-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/real-time-validation-for-gravity-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/real-time-validation-for-gravity-forms/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Amritansh Trivedi](https://wordpress.org/support/users/amritanshatwisetr/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/hyperlink-in-error-message/#post-10742357)
 * Status: not resolved