DMXzone Database Updater PHP Support Product Page

In progress

Repeat Region with browser button link and data expression

Reported 26 Mar 2018 12:40:57
1
has this problem
26 Mar 2018 12:40:57 henry Lebers posted:
Hi,

For my search motor, i have created a repeat region and inserted a few data fields
You can see:

<div dmx-repeat:repeat1="recherche.data.QueryRecherche">
<div is="dmx-browser" id="browser1"></div>
<div class="resultat_recherche">{{nom_categorie}} {{nom_bien}} {{ville}} {{prix}} €
<button id="btnDetail" dmx-on:click="browser1.goto('Details.php?ID={{nb_pieces}}')">Button</button>
{{nb_pieces}}</div>
</div>
</div>
But in order to redirect my users to the details page of the displayed element, the identifier field is taken as text

Thanks

Replies

Replied 26 Mar 2018 13:06:45
26 Mar 2018 13:06:45 Teodor Kuduschiev replied:
Hello Henry,
Why not using dynamic links for this but onclick event?
Add an <a tag, select it, click dynamic attributes > links > link and setup the dynamic link: prntscr.com/iwjitz

Reply to this topic