I'm trying to modify the url field to use it to send an email eg. mailto:your-email-address
The idea for the site, is to allow users/vendors to submit "items" with the "item" information being input into relevant fields - with the URL field being used as an "email - mailto:" hyperlink
So that this: URL: http://www.****.com
Becomes this: Send Email: mailto:***@*****.com
A detailed page is built for each "item" submitted, with the detailed page formatted to present the "item information"
If site visitors who see an "item" they are interested in - they click on the "mailto:" link - to send their email direct to the "item/vendor"
On the add url form I have changed the text to read "Send Email:" (I have not changed the form field - keeping URL)
If I test the site - using "Add Item" - in the "URL" field type mailto:***@*****.com - this works, the form can be submitted, the submission in Linkssql admin validated and "build changed"
On the relevant "item-detailed" page, an email can be sent using the formatted mailto: link
If a vendor submits their email address in the "url" field, without adding mailto: - this returns a red error message "URL cannot cantain the data ****@*****.com"
As mailto: is not widely known by the general public - I can see this being a problem for "vendors" submitting their "items"
How do I fix this?
Colin Thompson
The idea for the site, is to allow users/vendors to submit "items" with the "item" information being input into relevant fields - with the URL field being used as an "email - mailto:" hyperlink
So that this: URL: http://www.****.com
Becomes this: Send Email: mailto:***@*****.com
A detailed page is built for each "item" submitted, with the detailed page formatted to present the "item information"
If site visitors who see an "item" they are interested in - they click on the "mailto:" link - to send their email direct to the "item/vendor"
On the add url form I have changed the text to read "Send Email:" (I have not changed the form field - keeping URL)
If I test the site - using "Add Item" - in the "URL" field type mailto:***@*****.com - this works, the form can be submitted, the submission in Linkssql admin validated and "build changed"
On the relevant "item-detailed" page, an email can be sent using the formatted mailto: link
If a vendor submits their email address in the "url" field, without adding mailto: - this returns a red error message "URL cannot cantain the data ****@*****.com"
As mailto: is not widely known by the general public - I can see this being a problem for "vendors" submitting their "items"
How do I fix this?
Colin Thompson