Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

SELECTIVELY DISABLE LINKABILITY


This topic is 8772 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

hi-

i'm wondering how i can solve the following problem:

i have my database on the web, with it's main functionality being a search. i have one of the fields for each record set to be an image (a little icon). this icon is made linkable in my cdml:

<A HREF="[FMP-Field: songlink]"><img src="[FMP-Image: speaker]""URL" BORDER=0></A>

however not all records will need to have the icon, and therefore will not need to have a link. so, in fmpro, i've put a blank gif in that field for the records that don't need that linkable icon, and have left the url blank.

the problem is, that when the records are pulled up on the web, the records that i've filled in with a blank gif (and no url) still link (it ends up directing the blank url to the homepage).

what i ideally want to have is that the records without the icon NOT link, and NOT change the cursor to indicate linkability. how can this be done between cdml and html?

i've used a container field for the image in my database - is that what i need to change? logically i don't think that javascript or html can solve this the way i've got things set up -is that a fair assumption? if so, i don't know which direction to head in.

thanks for help!

Posted

Use the following...

[FMP-If: songLink .neq.]

--Put your HTML statement here--.

[/FMP-If]

Only the records with a value in the songLink field will print HTML

Hope this helps,

G

This topic is 8772 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.