Skip Navigation

[Resolved] Need to reload browser to see result after saving field

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.

Our next available supporter will start replying to tickets in about 7.19 hours from now. Thank you for your understanding.

This topic contains 3 replies, has 3 voices.

Last updated by filipV-3 3 years, 5 months ago.

Assigned support staff: Luo Yang.

Author
Posts
#582679

Hi Luo,

in addition to your following fix:
Q1) However, it's not possible to edit the entry in that same form afterwards. I change the choice, press 'submit', and while it gives a success popup, the entry is still the same old one...
The PHP codes only works for CRED form(id 800), if you need to apply same function to other CRED form, for example: you will need to modify the PHP codes, from:
if ($form_data['id']==800){
To:
if (in_array($form_data['id'], array(800, 838))){ // here you can add more CRED form ID into the array

--> this worked perfectly, thanks! However, after editing the cred form, the result of that field isn't seen (the whole field isn't seen actually) until i reload the browser. Many users will not expect to have to reload the browser and will think it didn't save correctly. /account-details/
Is there a known fix to this problem, please?
Kind regards

#582895

Hi Filip,

I'm going to assign this ticket to Luo as well.

#583163

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Dear Filip,

Are you using option "AJAX submission" in the CRED form?
If it is, please edit the CRED form, disable the option "AJAX submission", the after user submits the CRED form, it will be able to reload the browser automatically.

#583303

Dear Luo, that was indeed the right fix, thanks!