After a recent update all my submit buttons in relationship forms are not displaying correctly - see screen shot. The forms are in modal windows - they have always displayed correctly up until recently in modal windows.
Please help.
Thanks.
Thank you for contacting us and I'd be happy to assist.
In order to reproduce and investigate this issue on a test website, I'll need to see how this relationship form and the modal window is set up in the admin area.
Can you please share temporary admin login details along with the link to a page where this form can be seen?
Note: Your next reply will be private and please make a complete backup copy, before sharing the access details.
Thank you Waqar, that worked.
Please let me know when this will be fixed as I have a number of sites affected.
Will the fix be soon? I don't want to spend the time implementing the workaround on the various sites only to have to then undo it later.
Best,
Scott.
I'm afraid, I don't have a time estimate to share at this time, but the suggested workaround seems to be future safe, as it is very less likely that you'll have to undo it later when a fix has been released.
In any case, I'll keep you updated through this ticket.
I'm afraid, I don't have any update to share on that particular issue, but I'm sure Christian will keep you updated on the progress through the original thread.
Meanwhile, can you please include this custom script in your relationships form's "JS editor" and see if it helps in keeping the extra URL parameters, after the form's submission:
jQuery( document ).ready(function() {
var refURL = jQuery('form.cred_rel_form_class input[name="_wp_http_referer"]').val();
var redirectURL = jQuery('form.cred_rel_form_class input[name="cred_redirect_url"]').val();
var refURLArray = refURL.split('/?');
if(refURLArray[1]) {
jQuery('form.cred_rel_form_class input[name="cred_redirect_url"]').val(redirectURL+'&'+refURLArray[1]);
}
});