Hi torasan,
Do you mean that HTML <form> tags are wrapping the code generated by the [ultimate-faqs] shortcode? If possible, could you send us a link to your FAQ page? Either something else is conflicting or you have more than just that shortcode on your page.
hi,
Thank you for your reply.
The code in question is in “Shortcodes\DisplayFAQs.php”.
The actual display is as follows.。
<form><input type='hidden' name='include_category' value='' id='ufaq-include-category'/><input type='hidden' name='exclude_category' value='' id='ufaq-exclude-category'/><input type='hidden' name='orderby' value='date' id='ufaq-orderby'/><input type='hidden' name='order' value='DESC' id='ufaq-order'/><input type='hidden' name='post_count' value='-1' id='ufaq-post-count'/><input type='hidden' name='current_url' value='(URL)' id='ufaq-current-url'/></form>
Hi torasan,
Based on the limited about of info we have, that says to me that you are either adding extra stuff to the shortcode (like include_category) or using a feature that requires there to be a form tag. Either way, you can’t remove it or else it would break the functionality of the FAQs.
Hi,
I understand that <form> ~ </ form> cannot be deleted.
I want to make my FAQ page AMP compliant, is that possible?
Google search console>AMP shows below error.
1.The mandatory attribute ‘action’ is missing in tag ‘FORM [method=GET]’.
2.The mandatory attribute ‘target’ is missing in tag ‘FORM [method=GET]’.
The form uses all hidden inputs to execute the attributes you put into the shortcode. There is no submit button and no action as everything is meant to be done live with no page reloading.
Hi,
It seems difficult to convert the FAQ page to AMP.
Thank you for answering variously.