I wonder what am I doing wrong on the cq dialog xml, I cant get it to
display the data attribute, can you please share the xml file where you
took the screenshot from? I mean the whole file, I know you shared the
piece of code previously
validation="custo-validation" name="./creditsValue_t"> Mostly that part i want
to send the dependent name as a data html attribute but is not being
shown. that's my main problem. Can I use granite:data on textfields?
I was trying to avoid hardwiring the r creditsTitleValue =
$('[name="./creditsTitle_t"]').val(); . I want the name to be dynamic.
That is why I am trying to send it with granite:data so i can grab it
from the DOM, but i cant render it. Is it possible to add granite data
to textfield? That's my main problem
I am trying to create a validation function for a textfield depending on
the content of other textfield in a cq dialog in AEM 6.5.I am trying to
send within the cq:data the textfield name but I can get AEM to render
these data attributes on DOM. This is a piece of the cq
dialog And here is a ss of
what gets rendered: I want to be able to send to the "custo-validation"
a parameter with the name of the field that it needs to check,in this
case is the one above (creditsTitle_t), but it can be any...