Just found an error in the cancel or success inputs.
Wrong:
<input type="hidden" name="success_url"value="http://www.whiteoconnellphoto.com/send-money/sendmoney-thankyou.html" />
<input type="hidden" name="cancel_url"value="http://www.whiteoconnellphoto.com/send-money/sendmoney-paymentcancelled.html">
Right:
<input type="hidden" name="return"value="http://www.whiteoconnellphoto.com/send-money/sendmoney-thankyou.html">
<input type="hidden" name="cancel_return"value="http://www.whiteoconnellphoto.com/send-money/sendmoney-paymentcancelled.html">
I'll try the variable setting. Thanks!
Wrong:
<input type="hidden" name="success_url"value="http://www.whiteoconnellphoto.com/send-money/sendmoney-thankyou.html" />
<input type="hidden" name="cancel_url"value="http://www.whiteoconnellphoto.com/send-money/sendmoney-paymentcancelled.html">
Right:
<input type="hidden" name="return"value="http://www.whiteoconnellphoto.com/send-money/sendmoney-thankyou.html">
<input type="hidden" name="cancel_return"value="http://www.whiteoconnellphoto.com/send-money/sendmoney-paymentcancelled.html">
I'll try the variable setting. Thanks!
[PaymentAmt].00
Funny, only works if the customer enters an even amount. If they enter 22.52 it shows as 22.52.00
or 22.50 is 22.50.00
Funny, only works if the customer enters an even amount. If they enter 22.52 it shows as 22.52.00
or 22.50 is 22.50.00
Try this.
<script>
var Payment = [PaymentAmt];
var Decplace = ".00";
if( Payment % 1 != 0) {
document.write(Payment);
}else{document.write(Payment + Decplace);}
</script>
var Payment = [PaymentAmt];
var Decplace = ".00";
if( Payment % 1 != 0) {
document.write(Payment);
}else{document.write(Payment + Decplace);}
</script>
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
Eric, where would I put the code? I tried adding it to my Notification Email but it comes up with a script error as PaymentAmt is undefined
Paste the code in place of where you had the [PaymentAmt] on the notification or confirmation.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
I did but I get the same error as undefined "PaymentAmt" . ran the form anyway but the amount only shows in the first [PaymentAmt] variable, not the one in the script.
Here is part of the code on the page:
<div style="width:100%;font-family:'Courier New', Courier, 'Lucida Sans Typewriter', 'Lucida Typewriter', monospace;font-size:15px;color:#474747;">
<script>
var Payment = [PaymentAmt];
var Decplace = ".00";
if( Payment % 1 != 0) {
document.write(Payment);
}else{document.write(Payment + Decplace);}
</script>
Amount Paid [PaymentAmt]
[_form_results_]</div>
Here is part of the code on the page:
<div style="width:100%;font-family:'Courier New', Courier, 'Lucida Sans Typewriter', 'Lucida Typewriter', monospace;font-size:15px;color:#474747;">
<script>
var Payment = [PaymentAmt];
var Decplace = ".00";
if( Payment % 1 != 0) {
document.write(Payment);
}else{document.write(Payment + Decplace);}
</script>
Amount Paid [PaymentAmt]
[_form_results_]</div>
Works fine for me.
http://ericrohloff.com/coffeecup/ccforu … yment-amt/

http://ericrohloff.com/coffeecup/ccforu … yment-amt/
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
Puzzled, I used one of the default webforms and just inserted the [PaymentAmt] script. I get a script error when the program tries to save the page, and the script doesn't do the conversion.
What's the source code of the results page you display please?
What's the source code of the results page you display please?
just noticed on your demo that if you entered something like 2.50 you get a result of 2.5. Works fine though for amounts like 2.00 or 2.63
Eric, do you think it's a formatting error thats part of Form Builder? I'm sure I can't be the only one that gets the missing 00 s on the confirmation page. I bet it effects any numeric values that have 0's at the end. Microsoft word does that also if the field is numeric and has to be converted to text for it to print correctly.
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.