You need to sign in to do that
Don't have an account?

How to remove form section
Can someone help.
I'm trying to remove a section from a visualforce page and keep getting this error. The section to be removed is below.
Error: LandRoverCalltoAction line 238, column 15: The element type "apex:form" must be terminated by the matching end-tag "</apex:form>"
Error: The element type "apex:form" must be terminated by the matching end-tag "</apex:form>".
I'm trying to remove a section from a visualforce page and keep getting this error. The section to be removed is below.
Error: LandRoverCalltoAction line 238, column 15: The element type "apex:form" must be terminated by the matching end-tag "</apex:form>"
Error: The element type "apex:form" must be terminated by the matching end-tag "</apex:form>".
<div class="form-section"> <div class="form-row"> <div class="form-field"> <label class="form-field__label" for="searchField">Postcode</label> <div class="postcode__input"> <div class="form-field__input"> <apex:inputField id="searchField" value="{!Account.Postcode_Hidden__c}" required="true"/> </div> <input id="searchButton" class="form-button form-button--primary" type="button" onclick="findByPostcode()" value="Find" /> </div> <div id="selectDropdownDiv" class="selectDropdownDiv"> <label class="form-field__label" for="addressListSelect">Please select your address</label> <select id="addressListSelect" class="addressListSelect"></select> </div> <div class="errorDateMsg" id="errorAddrMsg" style="display: none">Please type the postcode and select your address</div> <div id="form-address" class="form-address"> <output id="output-address1"></output> <output id="output-town"></output> <output id="output-postcode"></output> </div> <div id="form-address-apex" class="form-address-apex"> <apex:inputField id="form__address_1" required="true" value="{!Account.BillingStreet}"/> <apex:inputField id="form__city" value="{!Account.BillingCity}"/> <apex:inputField id="postcode__box" value="{!Account.BillingPostalCode}"/> </div> </div> </div> </div>
Please make sure you do not have extra open tags in the code. As the error says "apex:form" must be terminated by the matching end-tag "</apex:form>", search for <apex:form> and make sure it has ending tag </apex:form> at correct place. When you are removing the section make sure you don't leave any incomplete tags.
Hope this helps!
Thanks
As far as I can see there are no extra tags.
The code does have <apex:form> opening and closing tags which appear only once.
Regards
It might be mostly because you did not close one of the tags before closing Apex:form. Is it possible to share the complete page?
Regards,
Krishna Avva
Oh Private Web Browser Pro Apk (https://happymod19.blogspot.com/2020/01/oh-private-web-browser-pro-apk.html)
VPN Master premium Mod Apk (https://happymod19.blogspot.com/2019/07/vpn-master-premium.html)
Pocket World 3D Mod Apk (https://happymod19.blogspot.com/2020/01/pocket-world-3d-mod-apk.html)
Manorama Max Apk (https://happymod19.blogspot.com/2020/01/Manorma-MAX-APK-Download.html)
Latest Modded Apk Download Website (https://happymod19.blogspot.com/)
Please see below: