mercredi 30 septembre 2015

How to use a form component to submit to an external URL?

I have a form-tag component. It needs to submit to an outside url. I'm trying to do something like (pseudo code):

{{#form-tag action="http://ift.tt/1RfoQp5"}}
  {{input type="hidden" value=hiddenValue}}
{{/form}}

When the form submits, I need to end up at http://ift.tt/1RfoQp5

I'm tempted to use a <form> element instead. But was wondering if there was a way using a form component.




Aucun commentaire:

Enregistrer un commentaire