sinned1
Forum Replies Created
-
Hi again, this works just fine, exactly how I wanted.
Thanks for every response and the final solution, even though it was kind of an ambiguous request.
Have a great day, kind regards!Hi, thanks for the quick response!
And actually right now I don’t want to do none of the things you said, maybe later up with my project but at the moment, I just want to be able to do actions on the ajax success action e.g having an empty div available to put inside this the data retrieved from the POST just to show it to the user as a summary, I know this is doable with the default submission behaviour on Form creation, but this is just to try this kind of functionality with this basic example and then maybe trying more things later, but now it’s just to test it.
Thanks again!Hi there again! Yes so, basically I just want to keep the default AJAX actions but I want to be able to use the data sent on POST for other purposes at the moment submit action is triggered, to make it short and clear if there is a way to add to the already existing AJAX some actions (simple example: adding text to a <p> element with some of the POST data) on success would be enough for me to try some things that I want. I already found some filters/actions that has the data that is give by the POST but even if that could work it is not specifically what I want to try, I know my request can be ambiguous but that’s basically it.
Thanks if there is some kind of idea!- This reply was modified 1 year, 12 months ago by sinned1.
Now that I think, is there maybe a way to just copy the exact same code as “front.submit.js” to another script, there just add the actions I want to do with the data that POST take to handle but doing it this way so I don’t lose every kind of check that the original does. But I still don’t have a clear idea of how can I remove the default one and make this new one with “front.submit.js” in. I understand that the js that is executed is the “front.multi.min.js” so that is what I want to remove somehow, thanks in advance for any help!
Hi! sorry for the late response, and yeah I realize that once I read the JS code for the submit, but I only want to try to replace this with my own is like a task I need to do. Even with that if it’s possible to do it like this I would like to know how, or if there is a way to create another JS function that executes parallel to the original one, so both trigger when submit it works for me too. Thanks in advance!
Thanks for the response, my image was only to make a example of what I want to do. Here is a general idea, I have 2 questions on my first Page: https://imgur.com/c7QISti, I highlighted them with some border to make it a little bit clear, so for every question I want to put them inside an accordion to hide/show them and that’s basically it, the flow is exactly how forminator works right now but just with a fancy extra with this component, if it’s possible in some way I’d like to know.
Thanks again, king regards,
I’m sorry I didn’t put the image link correctly, here it is: https://imgur.com/BMWKsx1