Hi,
I’ve detected the cause of issue, and I’m working in the update, however, you can solve it in your copy of the plugin following the steps below:
1. Open the “/wp-content/plugins/calculated-fields-form/cp_calculatedfieldsf_admin_int.php” file with the text editor your choice.
2. Go to the snippet of code:
var params = '&cff_add_coupon=1&cff_coupon_expires='+encodeURI(expires)+'&cff_discount='+encodeURI(discount)+'&cff_discounttype='+encodeURI(discounttype)+'&cff_coupon_code='+encodeURI(code);
and replace it by the following one:
var params = '&cff_add_coupon=1&cff_coupon_expires='+encodeURIComponent(expires)+'&cff_discount='+encodeURIComponent(discount)+'&cff_discounttype='+encodeURIComponent(discounttype)+'&cff_coupon_code='+encodeURIComponent(code);
Pay attention, I’ve replaced the functions “encodeURI” by “encodeURIComponent”
and that’s all.
Best regards.