Answer the question
In order to leave comments, you need to log in
How to create a link form?
Hello!
Help me create a form for a link to payment:
I showed on the screen:
123 - comment
55 - amount
Help create a form where you can specify the amount and comment.
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
Here is a simple working example. Add other fields yourself in the image and likeness.
<body>
<form action="https://касса.ру/merchant/forms.php" method="GET">
<input type="text" name="targets" id="targets" value="123">
<br>
<input type="text" name="default-sum" id="default-sum" value="55">
<br>
<input type="submit">
</form>
</body>
You create a form with action attributes equal to the path to forms.php, in method="get", and throw each parameter from the URL into some input in this form. Those parameters that do not need to be displayed are thrown into input type="hidden".
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question