Здравствуйте. Как сделать так, чтобы в customerContact копировалось значение из поля E-mail?
<form class="form1" action="
https://money.yandex.ru/eshop.xml
" method="post">
<input required name="shopId" value="00000" type="hidden"/>
<input required name="scid" value="00000" type="hidden"/>
<input type='hidden' required name="sum" value="1799" >
<input class="name" type='text' name="customerNumber" placeholder="Ф.И.О" size="64"/>
<input class="emeil" type="email" placeholder="E-mail" name="custEmail" size="64"/>
<input name="ym_merchant_receipt" value='{"customerContact": "+79250000000","taxSystem": 2,"items": [{"quantity": 1,"price": {"amount": 1799.00},"tax": 1,"text": "Яблоки"}]}' type="hidden"/>
</form>
Заранее спасибо