Show a container (and it's content) only after submit

M. M.Abletech 06 May, 2019
Hi,
I wish I can show a container (and it's content) only after submit. So I put it as hidden and I wish to change his status to visible after submit. I supposed I need some custom code.
I'm using chornoforms v5
​
Any suggestion? Thanks!
​
Miriam
Gr GreyHead 06 May, 2019
Hi M.Abletech ,
​
I'm sorry but I don't understand what you are trying to do here?
​
If you want to show a second stage to the form inputs then you could build a multi-page form?
​
Bob
M. M.Abletech 06 May, 2019
Thanks GreyHead. No I don't wish to use a multipage form: as a matter of fact I still need other containers I have in the page.
​
Is it possible to change the state from hidden to visible for a container after submit?
​
Thanks
Gr GreyHead 06 May, 2019
Hi M.Abletech,
​
Please explain how this works - normally the form inputs part is no longer visible after the form submits???
​
Bob
M. M.Abletech 06 May, 2019
Sorry I don't get how this information matters.
I need some data to stay visible before and after submit (container A), and new data to be visible only after submit (container B): that is because before submit fields are blank and are filled with data provided by submission. I want the data in container A remains at disposal.
​
Now, any suggestions on how I can set container B visible only after submit?
​
Thanks
Gr GreyHead 06 May, 2019
Hi M.Abletech,
​
Sure, please use a multi-page form. That way the information form the first page is still visible and you and show new for inputs depending on what that information is.
​
Bob
M. M.Abletech 06 May, 2019
Bag your pardon, if I change page, then it is not anymore visible, or am I wrong?
​
Anyway, apart from the pratical use in this case, for further reference, is there a way to change via code the status ( hidden-visible) of a container?
​
Thanks
Max_admin Max_admin 06 May, 2019
Once the form is submitted a new page is displayed, if you want to show/hide areas on the form then you can do this using the field events in a v6 form, you can install v6 with v5 and build the new form in v6
​
Best regards
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
M. M.Abletech 06 May, 2019
Thank you Admin,
yes I know it is very easy to achieve in chornoform v6. I think chronoform v6 was a great improvement in many ways, and this is one of these!
The problem is that I have a custom action that connect to our erp, that was developed for chornoform v5.
So I need to still use chornoform v5.
Gr GreyHead 06 May, 2019
Hi M.Abletech ,
​
I'm sorry, I still don't understand your question - what exactly do you mean by 'submit' - perhaps that is the problem?
​
Bob
This topic is locked and no more replies can be posted.