6
phiên bản Freeform: 4,07 ExpressionEngine v2.5.3 - Ngày tạo: 20120911Neo thẻ tước từ URL vào mẫu nộp
Tôi có một hình thức dạng đầm bên trong một tab jQuery. Khi biểu mẫu được gửi cùng với các lần xóa, neo cho tab đó bị tước khỏi URL. Điều này đưa tôi trở lại tab đầu tiên chứ không phải tab có biểu mẫu. Có cách nào để chuyển hướng người dùng quay lại tab biểu mẫu không?
Cảm ơn
<li id="qaTab">
{exp:freeform:form
form_id="2"
required="name|email|user_message"
return="contact_us/thank_you"
recipients="yes"
recipient1="Happy Harry|[email protected]"
recipient2="Lazy Larry|[email protected]"
recipient_template="contact_form"
notify_user="yes"
user_email_field="user_email"
inline_errors="yes"
}
{if freeform:general_errors}
<h2>There were some error(s) with your submission:</h2>
<ul>
{freeform:general_errors}
<li>{freeform:error_message}</li>
{/freeform:general_errors}
</ul>
{/if}
<div class="row">
<div class="six columns">
<label>{freeform:label:name}</label>
{freeform:field:name}
{if freeform:error:name}<small class="error">{freeform:error:name}</small>{/if}
</div>
<div class="six columns">
<label>{freeform:label:email}</label>
{freeform:field:email}
{if freeform:error:email}<small class="error">{freeform:error:email}</small>{/if}
</div>
</div>
{freeform:label:user_message}
{freeform:field:user_message}
{if freeform:error:user_message}
<small class="error">{freeform:error:user_message}</small>{/if}
<input type="hidden" name="subject" value="{title}" id="subject">
<input type="submit" name="submit" value="Submit" id="submit" class="button">
{/exp:freeform:form}
</li>