I have 2 form action below and whenever I click the 2nd form action (post /logout), the first action (get /journey) get triggered.
<form action="/journey" method="get"><input type="submit" value="Journey" />
<form action="/logout" method="POST"><input type="submit" value="Logout" />
The second action works if I didn’t add in the /journey action.
Anyone can tell me what’s wrong? Thanks.
try after closing form tags as shown below :