Hello, I’m a student who is experiencing this new framework. I need help … how do I link a form with another with a button? For example, I have a form ANAGRAFE that is connected with other forms depending on what I choose STUDENT OR TEACHERS(for example) … what can I do? If anyone knows I can say as has already solved the problem? Thank you…
Simple php logic, Either display two different forms to the teachers and students or display the button/fields based on the type of visitor viewing the form.
No, sorry maybe I was not clear … I have a form and when I click on the button I should upload another form.Now say that I have an initial menu of options to choose and for both student and teacher I have the same initial form.
How can I do to make me load the correct form when i click the button at the end of the first form which redirect me to student form or teacher form?
I am not sure if i got this right, But you are trying to submit the same form based on the type of person viewing/submitting it if it’s a teacher or a student?
Probably with some JS but you can display two different forms for the two different people (studen/teacher) and each one will submit it differently. In that case you will need to use some JS to show/hide the forms based on the viewer. You can use CTabView and a simple JS function to display the appropriate form based on the viewer. What do you have so far?