contact form not submitted

New Member
1 0 0

Hi Guys!

Im a newbie here. Still trying to understand how everything in shopify works.

So, we have a contact form in our page, but it doesnt seem to be working.

When i tried to submit a form response, it automatically gives me a cleaned form, there is no alert that the form has been submitted.

So firstly, where are the responses of the form stored?

Secondly, i dont get any email after submitting the form. How can i fix this?

 

Thanks

 
<div id="content">
  <div class="container">
     {% section "page" %}
    <div class="row mt20">
      <div class="col-md-6 col-md-offset-3 col-sm-8 col-sm-offset-2">
        <div class="sfbox box-registration">
          {% form 'contact' %}
		
          {{ form.errors | default_errors }}

          {% if form.posted_successfully? %}
  	          <div class="alert alert-success">
                <p>We've sent you an email to you.</p>
          	  </div>
  		  {% else %}
          
          <div class="frm">
              <label for="full_name" class="lbltxt">Nama Lengkap</label>
              <input type="text" value="" name="adopsi[name]" class="txtbox" size="30">
            
          </div>
          <div class="frm">
              <label for="email" class="lbltxt">Email Address</label>
              <input type="email" value="" name="adopsi[email]" class="txtbox" size="30">
          </div>

          <div class="frm">
              <label for="phone number" class="lbltxt">Nomor Telepon</label>
              <input type="tel" value="" name="adopsi[phone_number]" class="txtbox" size="30">
          </div>

          <div class="frm">
              <label for="address" class="lbltxt">Alamat</label>
              <input type="text" value="" name="adopsi[address]" class="txtbox form-control">
          </div>

          <div class="frm select box sel 2">
            <label for="province" class="lbltxt">Provinsi</label>
            <select id="province" name="adopsi[note][province]" class="txtbox form-control">
                <option value="A">A</option>
                <option value="B">B</option>
            </select>
          </div>

          <div class="frm">
              <label for="city" class="lbltxt">Kota</label>
              <input type="text" value="" name="adopsi[city]" class="txtbox" size="30">
          </div>

          <div class="frm">
              <label for="postal_code" class="lbltxt">Kode Pos</label>
              <input type="text" value="" name="adopsi[postal_code]" class="txtbox" size="6">
          </div>

          <div class="frm select box sel 2">
              <label for="pet_type" class="lbltxt">Jenis Pet yang Diadopsi</label>
          	  <input type="text" value="" name="adopsi[pet]" class="txtbox" size="30">
          </div>

          <div class="frm">
              <label for="time" class="lbltxt">Bulan dan Tahun Adopsi</label>
              <input type="month" value="" name="adopsi[time]" class="txtbox" size="30">
          </div>


          <div class="row">
              <input type="submit" class="btn_c" value="Submit">
          </div>
		  
          {% endif %}
          {% endform %}
        </div>
      </div>
    </div>
  </div>
</div>

 

0 Likes