Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I want to modify the URL in a List box before HyperActive runs the link. How do I do this?

Box hyperactive link list URL
0
Posted

I want to modify the URL in a List box before HyperActive runs the link. How do I do this?

0

ThisHyperActive.GetListURL is the method where you can put your code. The code that the template puts there is (for example): if (HyperControl = ?Browse:1) Get(Queue:Browse:1,choice(?Browse:1)) HATempVar = ?Browse:1{proplist:mouseupfield} case ?Browse:1{proplist:FieldNo,HATempVar} of where(Queue:Browse:1,Queue:Browse:1.sup:WEBSITE) ReturnValue = parent.GetListURL(HyperControl,Queue:Browse:1.sup:WEBSITE) end end You can put your own code before the template generated code. Return directly from your code with the changed link.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123