fetching mint URL from form server side handler
This commit is contained in:
parent
4b5fc7dc0e
commit
aa75ad4e1c
@ -41,7 +41,7 @@
|
||||
// Evaluate form
|
||||
$reserve_pk = $_POST['reserve_pk'];
|
||||
$kudos_amount = $_POST['kudos_amount'];
|
||||
$mint = $_SERVER['SERVER_NAME'];
|
||||
$mint = $_POST['mint_rcv'];
|
||||
|
||||
// check if the webform has given a well formed amount
|
||||
$ret = preg_match ('/[0-9]+(\.[0-9][0-9]?)? [A-Z]+/', $kudos_amount, $matches);
|
||||
|
@ -58,7 +58,7 @@
|
||||
<option value="10.50 KUDOS">10.50 KUDOS</option>
|
||||
<option value="1000.3 KUDOS">1000.3 KUDOS</option>
|
||||
</select>
|
||||
<input type="text" id="kudos-mint" hidden></input>
|
||||
<input type="text" name="mint_rcv" id="kudos-mint" hidden></input>
|
||||
<input id="select-mint"
|
||||
type="button"
|
||||
value="Select mint"
|
||||
|
Loading…
Reference in New Issue
Block a user