Skip Navigation

[Resolved] Validation form

This support ticket is created 7 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 8 replies, has 2 voices.

Last updated by Luo Yang 7 years, 2 months ago.

Assisted by: Luo Yang.

Author
Posts
#566149

Hello,

I have a problem with my cred forms.

I use modal avada, and i have add my form in the modal, my problem is when the form is validated, the modal is closed. The form is working, but how i could stay in the modal and show the toolset message .

Thanks a lot

#566331

Dear Roman,

How do you setup the CRED form and the "modal"?
I suggest you edit the CRED form, option "After visitors submit this form" choose "Display a message instead of the form", and test again.

#566341

No, it doesn't work.

I have to check Ajax or not ? I don't understand what it is. I know ajax, but in this cas i don't understand.
I have a other problems, but i have create a ticket for that. the option required doesn't work 🙁

#566635

I just test it again in my localhost, the only option maybe work for your case:
1) edit the CRED form, enable the option "AJAX submission"
2) option "After visitors submit this form" choose "Keep displaying this form"

Then there isn't URL redirection after user submit the CRED form.

#566983

Hello,

Your are the best ! Is is working 🙂

#566984

Oops, i have just one small problem, when i validate, there is a popup "Operation completed successfully" it is not my langage, and i don't know where i could change or delete this message.

#567018

Currently you can only change the message, for example, add below codes into your theme/functions.php:

add_filter('gettext', 'mycustom_func', 10, 2);
function mycustom_func($translated_text, $domain){
    if($domain != 'wpv-views') return $translated_text;
    if($translated_text == 'Operation completed successfully'){
        $translated_text = 'Operation completed successfully in your language';
    }
    return $translated_text;
}
#568292

Thanks, but is it possible to cancel this alert ?

And, i have just tried this code it doesn't work.

#568333

For the question "cancel this alert ", it is not possible yet within CRED yet, and it is already in our to-do list, I added this thread into it, our developers will take care of it. but there isn't any ETA for it, I suggest you subscribe to our blog to get the updated news.
https://toolset.com/blog/