This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
merchant:epaymentform:reqfieldsjavascript [2015/04/14 13:18] charlie |
merchant:epaymentform:reqfieldsjavascript [2016/05/20 10:53] charlie |
||
---|---|---|---|
Line 34: | Line 34: | ||
</script> | </script> | ||
</code> | </code> | ||
- | - You can make as many fields required as you want. To make a field required, repeat this section of code: | + | - You can make as many fields required as you want. To make a field required, repeat this section of code. Please note, requiring fields that are not on your payment form will break the entire field verification, causing no field requirements: |
- <code javascript> | - <code javascript> | ||
if (document.epayform.UMfield.value=="") { | if (document.epayform.UMfield.value=="") { |