<form action="sendmail.php" method="POST">
    <div class='gform_body gform-body'>
        <div id='gform_fields_1' class='gform_fields top_label form_sublabel_below description_below'>
            <div id="field_1_1" class="gfield gfield--width-half gfield_contains_required field_sublabel_below field_description_below gfield_visibility_visible">
                <label class='gfield_label' for='input_1_1'>First Name
                    <span class="gfield_required">
                        <span class="gfield_required gfield_required_text">(Required)</span>
                    </span>
                </label>
                <div class='ginput_container ginput_container_text'>
                    <input name="fname" id='input_1_1' type='text' value='' class='large' placeholder='Enter first name' aria-required="true" aria-invalid="false" required /> 
                </div>
            </div>

            <div id="field_1_2" class="gfield gfield--width-half gfield_contains_required field_sublabel_below field_description_below gfield_visibility_visible">
                <label class='gfield_label' for='input_1_2'>Last Name
                    <span class="gfield_required">
                        <span class="gfield_required gfield_required_text">(Required)</span>
                    </span>
                </label>
                <div class='ginput_container ginput_container_text'>
                    <input name="lname" id='input_1_2' type='text' value='' class='large' placeholder='Enter last name' aria-required="true" aria-invalid="false" required />
                </div>
            </div>

            <div id="field_1_9" class="gfield gfield--width-half gfield_contains_required field_sublabel_below field_description_below gfield_visibility_visible">
                <label class='gfield_label' for='input_1_9'>Phone
                    <span class="gfield_required">
                        <span class="gfield_required gfield_required_text">(Required)</span>
                    </span>
                </label>
                <div class='ginput_container ginput_container_phone'>
                    <input name='phone' id='input_1_9' type='tel' value='' minlength="11" maxlength="11" class='large' placeholder='Enter Phone' aria-required="true" aria-invalid="false" required />
                </div>
            </div>

            <div id="field_1_4" class="gfield gfield--width-half gfield_contains_required field_sublabel_below field_description_below gfield_visibility_visible">
                <label class='gfield_label' for='input_1_4'>Email
                    <span class="gfield_required">
                        <span class="gfield_required gfield_required_text">(Required)</span>
                    </span>
                </label>
                <div class='ginput_container ginput_container_email'>
                    <input name='email' id='input_1_4' type='email' value='' class='large' placeholder='info@example.com' aria-required="true" aria-invalid="false" required/>
                </div>
            </div>

            <div id="field_1_7" class="gfield gfield--width-full field_sublabel_below field_description_below gfield_visibility_visible">
                <label class='gfield_label' for='input_1_7'>Message</label>
                <div class='ginput_container ginput_container_textarea'>
                    <textarea name='message' id='input_1_7' class='textarea medium' placeholder='Write your message here...' aria-invalid="false" rows='10' cols='50' required>
                    </textarea>
                </div>
            </div>

            <fieldset id="field_1_12" class="gfield gfield--width-full gfield_contains_required field_sublabel_below field_description_below hidden_label gfield_visibility_visible">
                <legend class='gfield_label gfield_label_before_complex'>Consent
                    <span class="gfield_required">
                        <span class="gfield_required gfield_required_text">(Required)</span>
                    </span>
                </legend>
                <div class='ginput_container ginput_container_consent'>
                    <input name='input_12.1' id='input_1_12_1' type='checkbox' value='1' aria-required="true" aria-invalid="false" /> 
                    <label class="gfield_consent_label" for='input_1_12_1'>
                        I consent to receive SMS from Beyond Browse . Reply STOP to opt-out; Reply HELP; Message
                        and data rates apply; Messaging frequency may vary.
                    </label>
                    <span class="gfield_required gfield_required_text">(Required)</span>
                </div>
            </fieldset>
        </div>
    </div>
    <div class='gform_footer top_label'>
        <input type="submit" class="gform_button button" value="Get Started">
    </div>
</form>