This topic is locked

Replace e-mail address with click-able image.

2/24/2012 10:43:53 AM
ASPRunnerPro General questions
4
4thninches author

Hi
Using ASPRunner Pro 6.2 (build 5482)
I have a field containing an e-mail address.
Is there a way to make this appear as a click-able image?
Many thanks
SC

Sergey Kornilov admin 2/24/2012

Here is an example of how you can do this.
Set 'View as' type of email field to 'Custom' and use the following code:

<a href='mailto:" & strValue & "'><img border=0 src='images/email.gif'></a>
4
4thninches author 2/25/2012

Hi
Adding that line -

<a href='mailto:" & strValue & "'><img border=0 src='images/email.gif'></a>

  • gives a Check Syntax error...

    Microsoft VBScript compilation error: Expected statement in line 1
    SC


    Here is an example of how you can do this.
    Set 'View as' type of email field to 'Custom' and use the following code:

<a href='mailto:" & strValue & "'><img border=0 src='images/email.gif'></a>


4
4thninches author 2/27/2012

Hi
Am I supposed to be changing something in or adding something before -

<a href='mailto:" & strValue & "'><img border=0 src='images/email.gif'></a>

  • gives a Check Syntax error...

    Microsoft VBScript compilation error: Expected statement in line 1
    Thanks
    SC
  • >

    Hi
    Adding that line -

    <a href='mailto:" & strValue & "'><img border=0 src='images/email.gif'></a>
  • gives a Check Syntax error...

    Microsoft VBScript compilation error: Expected statement in line 1
    SC

Sergey Kornilov admin 2/27/2012

I would suggest to post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program. This way we can find what exactly doesn't work and build a working snippet for you.