This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 4
SQL Error
Started 9 years ago by johnshepherd | 2 posts |
-
When I try to submit a form, I get this error:
SQL: [83] select element_22 coupon_element from ap_form_22472 where
id
= ? andstatus
= 1 Params: 1 Key: Position #0: paramno=0 name=[0] "" is_param=1 param_type=2 Query Failed: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'element_22' in 'field list'Posted 9 years ago # -
It looks like you have enabled "Coupon Code" on your payment setting, but no field is being selected as the coupon code field. So make sure to add a "Single Line Text" field into your form first, and then select the field as the coupon code field on your payment setting page.
MachForm Founder
Posted 9 years ago #
Reply
You must log in to post.