Forums

Load "show html" before "show form"

Tiw 29 Jan, 2014
Hi!

I'm having some trouble loading my actions in the order I want to.

I'm having a form in which the costumers can add their data, when they hit submit the form will load again (show html) and the price will be shown along side the reloaded form (for easy changes to the order), in the same event there are also a contact form that will be shown (show form).

My question is how do I get the "show html" to load before the "show form" action?

Link to the form: http://hogahojder.se/index.php/villa

Best Regards
/Dan
Max_admin 29 Jan, 2014
Hi Dan,

Because of how the 2 actions are processed, this may not be possible, but a workaround would be to use the Chronoforms plugin to display the 2nd form, just write the plugin code inside a custom code action with mode set to "view", and add it after the "show html", you should also use the Render plugins action to process the plugin.

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Tiw 30 Jan, 2014
Hi!

Thanks for your answer, after some testing I found out that if i used two "show form" I could decide which form to show first and whish one to show second.

Best Regards
/Dan
This topic is locked and no more replies can be posted.