Ajax Not Working on iPhone. If Ajax is Disabled, the Form Cannot Be Submitted.
-
Hello. Your plugin is great.
However, I’ve encountered a few issues recently:- Ajax works on desktop and Android devices, but it doesn’t work on iPhones. I tested it on iPhone 13 (iOS 16.1) and iPhone 14 Pro (iOS 16.2), and in both cases, clicking the Submit button reloads the page instead of using Ajax.
- If Ajax is disabled, the form cannot be submitted.
I’m using a form with Conditional Logic. Here is the form I’m using (exported) in case it helps.
{"version":"1.4.8","type":"forms","forms":{"1":{"ID":"1","type":"form","title":"Contact Form","date_created":"06\/16\/2024 10:03:20","date_modified":"09\/27\/2024 10:01:14","view_count":"242","lead_count":"4","is_trash":"0","is_active":"1","fields":{"2":{"id":2,"formId":1,"type":"email","field_label":"Email","field_required":true,"field_class":"","field_description":"","field_description_position":"bottom","field_label_visibility":"visible","field_sub_label_position":"hidden","field_size":"full","field_visibility":"everyone","conditional_logic":"","email_inputs":{"email":{"label":"Email","enable":true,"default":"","desc":"","placeholder":"","value":null,"is_required":true},"email_confirmation":{"label":"Email Confirmation","enable":false,"default":"","desc":"","placeholder":"","value":null,"is_required":true}}},"3":{"id":3,"formId":1,"type":"textarea","field_label":"Message","field_required":true,"field_placeholder":"","field_default":"","field_class":"","field_description":"","field_description_position":"bottom","field_label_visibility":"visible","field_visibility":"everyone","conditional_logic":"","max_length":""},"4":{"id":4,"formId":1,"type":"text","field_label":"Name","field_required":true,"field_placeholder":"","field_default":"","field_class":"","field_description":"","field_description_position":"bottom","field_label_visibility":"visible","field_visibility":"everyone","conditional_logic":"","input_mask":"disable","input_mask_type":"","input_custom_mask":"","max_length":""},"6":{"id":6,"formId":1,"type":"select","field_label":"Subject","field_required":true,"field_class":"","field_description":"","field_description_position":"bottom","field_label_visibility":"visible","field_visibility":"everyone","conditional_logic":"","field_choices":{"choices":{"2":{"label":"Order status questions","value":"Order status questions"},"3":{"label":"Modify or cancel an existing order","value":"Modify or cancel an existing order"},"4":{"label":"My order is defective or missing","value":"My order is defective or missing"},"5":{"label":"I have a question about placing an order","value":"I have a question about placing an order"},"6":{"label":"Other","value":"Other"}}}},"7":{"id":7,"formId":1,"type":"select","field_label":"Question\/ Concern","field_required":true,"field_class":"","field_description":"","field_description_position":"bottom","field_label_visibility":"visible","field_visibility":"everyone","conditional_logic":{"enable":"yes","rules":{"groups":[{"1":{"field":"6|Subject","operator":"is","value":"Order status questions"}}]}},"field_choices":{"choices":[{"label":"What is the status of my order?","value":"What is the status of my order?"},{"label":"I need help with a late order","value":"I need help with a late order"},{"label":"My tracking number isn't working","value":"My tracking number isn't working"}]}},"9":{"id":9,"formId":1,"type":"text","field_label":"Order Number","field_required":true,"field_placeholder":"","field_default":"","field_class":"","field_description":"Your order number can be found at the top of your confirmation email. Please check your inbox, including your spam folder, for your confirmation email. If you cannot locate your confirmation email, you can fill the transaction ID in this.","field_description_position":"bottom","field_label_visibility":"visible","field_visibility":"everyone","conditional_logic":{"enable":"yes","rules":{"groups":[{"1":{"field":"7|Question\/ Concern","operator":"contains","value":"What is the status of my order?"}},{"1":{"field":"7|Question\/ Concern","operator":"contains","value":"I need help with a late order"}},{"1":{"field":"7|Question\/ Concern","operator":"contains","value":"My tracking number isn't working"}},{"1":{"field":"12|Question\/ Concern","operator":"contains","value":"I\u2019d like to modify my order"}},{"1":{"field":"12|Question\/ Concern","operator":"contains","value":"I\u2019d like to modify my order"}}]}},"input_mask":"disable","input_mask_type":"","input_custom_mask":"","max_length":""},"12":{"id":12,"formId":1,"type":"select","field_label":"Question\/ Concern","field_required":true,"field_class":"","field_description":"Please read: Because our order are custom produced, Change and Cancellation requests are only allowed within 12 hours from the time that your order was placed.","field_description_position":"bottom","field_label_visibility":"visible","field_visibility":"everyone","conditional_logic":{"enable":"yes","rules":{"groups":[{"1":{"field":"6|Subject","operator":"is","value":"Modify or cancel an existing order"}}]}},"field_choices":{"choices":[{"label":"I\u2019d like to modify my order","value":"I\u2019d like to modify my order"},{"label":"I\u2019d like to cancel my order","value":"I\u2019d like to cancel my order"}]}},"17":{"id":17,"formId":1,"type":"select","field_label":"Question\/ Concern","field_required":true,"field_class":"","field_description":"","field_description_position":"bottom","field_label_visibility":"visible","field_visibility":"everyone","conditional_logic":{"enable":"yes","rules":{"groups":[{"1":{"field":"6|Subject","operator":"is","value":"I have a question about placing an order"}}]}},"field_choices":{"choices":[{"label":"I have questions about sizing","value":"I have questions about sizing"},{"label":"How much does shipping cost?","value":"How much does shipping cost?"},{"label":"How long does it take to receive the parcel?","value":"How long does it take to receive the parcel?"},{"label":"I\u2019d like to customize a design before ordering","value":"I\u2019d like to customize a design before ordering"},{"label":"How do I apply my coupon code?","value":"How do I apply my coupon code?"}]}},"18":{"id":18,"formId":1,"type":"select","field_label":"Question\/ Concern","field_required":true,"field_class":"","field_description":"","field_description_position":"bottom","field_label_visibility":"visible","field_visibility":"everyone","conditional_logic":{"enable":"yes","rules":{"groups":[{"1":{"field":"6|Subject","operator":"is","value":"Other"}}]}},"field_choices":{"choices":{"0":{"label":"My card keeps declining","value":"My card keeps declining"},"1":{"label":"A page looks bad on my device or browser","value":"A page looks bad on my device or browser"},"2":{"label":"My discount\/ promo code isn\u2019t working","value":"My discount\/ promo code isn\u2019t working"},"3":{"label":"Website keeps asking me to fill in the required fields several times despite being completed","value":"Website keeps asking me to fill in the required fields several times despite being completed"},"4":{"label":"The \u201cADD TO CART\u201d or \u201cCHECKOUT\u201d doesn\u2019t work","value":"The \u201cADD TO CART\u201d or \u201cCHECKOUT\u201d doesn\u2019t work"},"5":{"label":"Slow website speed","value":"Slow website speed"},"6":{"label":"Error 10426","value":"Error 10426"},"7":{"label":"I\u2019m unable to place an order","value":"I\u2019m unable to place an order"},"10":{"label":"Other","value":"Other"}}}},"19":{"id":19,"formId":1,"type":"file","field_label":"Attach Pictures","field_required":false,"field_placeholder":"","field_default":"","field_class":"","field_description":"Allowed file formats: .jpg or .png. Maximum file size: 10 MB.","field_description_position":"bottom","field_label_visibility":"visible","field_visibility":"everyone","conditional_logic":{"enable":"yes","rules":{"groups":[{"1":{"field":"6|Subject","operator":"is","value":"My order is defective or missing"}},{"1":{"field":"6|Subject","operator":"is","value":"Other"}}]}},"allowed_extensions":"jpg, png","max_upload_size":10,"multiple_files":false}},"field_types":{"0":"email","1":"textarea","2":"text","3":"select","9":"file"},"containers":{"settings":false,"data":[{"type":"row","columns":[{"width":"100%","fields":["4","2","6","7","12","17","18","9","3","19"]}]}]},"actions":[{"id":0,"formId":1,"type":"email","priority":2,"enabled":true,"action_label":"Email","conditional_logic":"","from_name":"","from_email":"","to":"{mf:wp admin_email}","subject":"New Submission: Contact Form","message":"{mf:fields all_fields}","more_options":{"_replyto":"_replyto"},"replyto":"{mf:fields 2}"}],"settings":{"form_description":"","submit_button":"Submit","form_css_class":"","disable_storing_entries":false,"enable_save_and_continue":false,"time_trap":true,"time_trap_duration":10,"limited_entries":false,"login_restricted":false,"confirmation_type":"message","confirmation_message":"Thanks for contacting us! We will be in touch with you shortly.","keep_form":false}}}}
Looking forward to your response. Thank you very much!
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.