How to create a hotspot on a multivalue field

Hi, I have a multivalue field and i want to create a hotspot in it. The multivalue field is a names field so that when user clicks on the hotpspot, there’s a lotus script that composes a mail memo and sets the Sendto field to the Name listed in the multivalue field. Now, if there are multiple names in the field, the hotspot should be smart enough to recognize them as two separate hotspots. So for example, if the multivalue field has two names : John and Jose. These two names should be displayed separately with their own hotspot so that i should be able to click on John and it would compose a memo to John only and the if i click on Jose then it should compose a memo to Jose only. Please advise. Thanks in advance.

Subject: Pass-through HTML?

Hi,

You could use the “Render pass-through HTML in Notes Client” option on your form.

Then just add some computed-text with a formula like this:

@For(i := 1; i<=@Elements(NamesField); i:=i+1;

HTML := HTML + “<a href="Mailto:” + CommentsName[i] + “">” + @Name([CN];NamesField[i]) + “
” );

HTML

Don’t forget to tag your computed-text as pass-through HTML.

Hope this helps,

Phil

Subject: Nothing wrong with your response

but if it’s a multvalue field you don’t need the @for, you’re just creating work for yourself.

“<a href="Mailto:” + @Name([CN];NamesField) + “">” + @Name([CN];NamesField) + “

Notes will complete the formula for each entry in the multivalue list. To stop it including a semi colon or comma etc. as a separator you can wrap it in an @explode

Subject: Agreed

Carl,That’s what I thought, so I tried it and it didn’t work, so I put the @For in.

Just tried it again, and I only got the first name on the list displayed.

I’ve checked and the NamesField is definitely multi-value. If it was a computed field rather than computed text that would be fine, but the pass-through HTML wouldn’t render in the client :frowning:

Curiouser and curiouser.

Phil

Subject: Doesn’t work

Any other suggestions? Thanks.

Subject: I tried it and it worked

Can you give more information?

Subject: Not Working for me either

I have set the form to render pass through html…

I just put for a test Betsy in computed text.

It just returns Betsy

Instead of making it bold.

It says it is pass-thru…

I have some other forms that it is working on. So then I thought I must have something wrong with this form. This is a new addition to the form.

Subject: How does it fail?

I’ve have used this approach many times.