I have two urls say A.html and B.html with views a and b respectively. A has a form action which points to B.html. So A.html's action points to view b and B.html's also points to view b.
I have two issues:
In case the user does not select a value in A.html and presses submit button then it should point to the same url as of A.html. But due to my form action it gets directed to B.html. Is there any way of maintaining this direction to A.html only.
The term selected in A.html passes to B.html. I need to preserve this term since it has an usage while submission of another form which is in B.html. My issue is B.html points to same view and A.html's form action also points to same view. While posting form B, I need to take the term from A.html plus the term selected from B.html while maintaining the checks if for example, nothing was selected in B.html and still the form is posted. How to do this?