Hi there, Does anyone know if it's possible to take data input into a
form by a user and use this data as a variable within the same form to
populate a form action? My form is as follows:
<form action="/myapp/method/attrib/gateway_article/@date/value/
{{ form.date }}/attrib/gateway_article/original_article/@doi/value/
10.1038/{{ form.doi }}/">
<p>
<label for="id_date">Date:</label> {{ form.date }}
{% if form.date.errors %}*** {{ form.name.errors|join:", " }}{%
endif %}
<br/>
<span class="helper">The date of the batch to save article
profile to (YYYY-MM-DD)</span>
</p>
<p>
<label for="id_doi" name="name_doi">DOI:</label> 10.1038/
{{ form.doi }}
{% if form.doi.errors %}*** {{ form.name.errors|join:", " }}{%
endif %}
</p>
<input type="submit" value="save"/>
</form>
Perhaps this is not the right way to go about this though? If anyone
has a solution it would be much appreciated.
Thanks
Alex
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---