Skip to main content
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>".

 

<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>

 
3 件の回答
  1. 2020年1月3日 17:05
    Hi Jack,

    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