Custom Template unable to get value

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
singh
User
Posts: 127

Custom Template unable to get value

Post by singh »

Create a custom link to reset login retry count in Custom Template List Page
When I use {{: {{{dbvalue id}}} }} separately I got the value but when I use in the link below it does not get the value.

<a type="button" class="ew-row-link" data-caption="Reset login retry count" data-ew-action="submit" form="fworkerslist" data-key="{&quot;id&quot;:&quot; {{: {{{dbvalue id}}} }} &quot;}" data-action="resetloginretry" data-method="A" data-select="S"><span style='font-size: 17px;'><i class="fas fa-sign-in-alt"></i></span></a>


mobhar
User
Posts: 11747

Post by mobhar »

Try to simplify your code by removing unecessary code/element first, and see whether that would help.


arbei
User
Posts: 9412

Post by arbei »

If v2022, you may add this in Page_Head server event to make the JavaScript check "data-key" attribute.

<script>
ew.jsRenderAttributes.push("data-key");
</script>

singh
User
Posts: 127

Post by singh »

mobhar wrote:

Try to simplify your code by removing unecessary code/element first, and
see whether that would help.

I just copy the whole code from the auto generated code to Reset login retry count
It is the PHPMaker generated code.

I just add the {{: {{{dbvalue id}}} }} in between the code where I needed.

still unable to solved it.
Please help


Post Reply