• Hi,

    I have setup a CF7 form as shown below:

    <div class="chewy_pb_contact">
    		<p class="clearfix">
    			<label class="et_pb_contact_form_label">Your Name</label>
    			[text* your-name id:your-name class:input class:et_pb_contact_name class:chewy_input placeholder "Name"]
    		</p>
    		<p class="clearfix">
    			<label class="et_pb_contact_form_label">Your Email</label>
    			[text* your-email id:your-email class:input class:et_pb_contact_email class:chewy_input placeholder "Email"]
    		</p>
    		<p class="clearfix">
    			<label class="et_pb_contact_form_label">Mobile No.</label>
    			[text* phone id:phone class:input class:et_pb_contact_name class:chewy_input placeholder "Mobile No."]
    		</p>
    	<div class="clear"></div>
    	<p class="clearfix chewy-question-label">
    		<strong><label class="et_pb_contact_form_label">Question One: </label></strong>
    		<p class="chewy-question">Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</p>
    		[textarea* question-1 id:question-1 class:et_pb_contact_message class:input class:chewy_textarea placeholder "Answer Question One Here"]
    	</p>
    	<div class="clear"></div>
    	<p class="clearfix chewy-question-label">
    		<strong><label class="et_pb_contact_form_label">Question Two: </label></strong>
    		<p class="chewy-question">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor?</p>
    		[textarea* question-2 id:question-2 class:et_pb_contact_message class:input class:chewy_textarea placeholder "Answer Question Two Here"]
    	</p>
    	[submit class:chewy_pb_contact_submit "Submit"]
    </div>

    And my mail’s message body is:

    From: [your-name] <[your-email]>
    Mobile: [phone]
    
    Answer to Question One:
    [question-1]
    
    Answer to Question Two:
    [question-2]

    The problem is, in my mail, instead of the submitted text in [question-1] and [question-2] fields by the user, the paragraph texts written under the question 1 and question 2 labels are showing. Example:

    From: Example <[email protected]>
    Mobile: 01770000000

    Answer to Question One:
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor?

    Question Two:

    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor?

    Answer to Question Two:
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor?

    Can anyone tell me what I am doing wrong?
    Thanks

    https://ww.wp.xz.cn/plugins/contact-form-7/

Viewing 1 replies (of 1 total)
  • Hi nilimagloria,

    The example that you have provided seems inaccurate. To make it easier to find the cause of this error could you please use an accurate example?

    For example, you have included the following text which is definitely not in your mail field:

    Question Two:
    
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor?
Viewing 1 replies (of 1 total)

The topic ‘Mail showing wrong submitted message’ is closed to new replies.