Skip Navigation

[Resolved] Form submit just reload the page with _tt param

This support ticket is created 6 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 12 replies, has 2 voices.

Last updated by Shane 6 years, 2 months ago.

Assisted by: Shane.

Author
Posts
#1142270

I am trying to:
User fill form for custom post type

Link to a page where the issue can be seen:
hidden link

I expected to see:
CRED form should create new post and redirect to the post

Instead, I got:
Page with CRED form just reloaded with _tt param: hidden link

And new post has not been created.

#1142496

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Kirill,

Thank you for contacting our support forum.

You say your form does not redirect? What happens after you submit the form ?

Please let me know.

Thanks,
Shane

#1143197

Hi Shane,

As I wrote before: "Page with CRED form just reloaded with _tt param: hidden link"
So, it is just reloaded with new param "_tt". With filled fields. And then I submit form again, it create a new post and redirect to it. The issue is why it is not done it from first submit? And not create a new post by first form submit...

#1143231

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Kirill,

I suspected that this might be a plugin conflict and what I recommend that you do is to temporarily disable the non-toolset plugins and try again ?

Please try this and let me know the results as soon as possible.

Thanks,
Shane

#1143248

I deactivate everything but all toolset plugins still active. Results the same.
You could check here: hidden link

#1143263

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Kirill,

That is strange, as you mentioned it should submit on your first try.

Is this the only form that acts in this manor ? If so then you can try re-creating the form and see if this produces a better result.

Thanks,
Shane

#1143280

Hi Shane,

Not the only. You could try entire process by that link and you will find that some of next forms also not processed after first attempt.
E.g. second form on the main page has the same issue (hidden link)
By the way, what is the param '_tt' means? For all forms it added to page url for reloading.

#1143290

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Kirill,

Would you mind providing me with admin access to the site so that I can have a deeper look at this for you ?

The private fields will be enabled for your next response.

Thanks,
Shane

#1143849

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Kirill,

Will it be ok if I took a copy of this site to check further ?

This way I can have a safe environment to do some more debugging.

Thanks,
Shane

#1143953

Hi Shane,

Yes, please. Don't forgot to delete your copy after 🙂

#1145109

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Kirill,

I'm not able to create the duplicator package on your site and it seems you host is blocking the other attempts.
However enabling AJAX on the form resolves the issue.

So you can work around this by using the ajax submission.

Please let me know if this helps.

Thanks,
Shane

#1145721

Hi Shane,

Yes, AJAX helps. Not perfect solution due to additional delay for users and some design issue, but it works for now.
I'm not sure about close this ticket due to definitely some bug at non-AJAX post submission with redirect. So, it's up to you how to process it.
Anyway, thanks for your help and current solution.

#1145820

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Kirill,

This actually isn't a replicable bug atleast. I highly suspect its due to some conflict with theme/server/plugin . If I was able to replicate the issue here locally then I would be able to escalate to our team for fixing but i'm not able to.

Since the AJAX solution works fine there isn't much else that I can advise on. Also i'm not able to create a copy of your site due to your hosts restrictions on cloning plugins.

Thanks,
Shane