is there a way to verify a hidden field value inside a if statement?
for example:
<input type="hidden" id="hdnDetails"/>
{% if details.id_details == hdnIdDetalii.value %}
code here
{% endif %}
something like this...
*note!* i`m using python with google app engine, details is send from a .py
file.
the value of the hidden field is set in a javascript function when
i click a button.
if i try to do this (the code above) i get the following error:
UndefinedError: 'hdnDetails' is undefined
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/8304ec9a-bab1-457d-be0e-c84e4f5f1124%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.