I want to replicate working of this code in wix and open the redirected page in new tab.
<form method="post" id="login" name="login" action="https://my-eoffice.com/client/postLogin.php">
<input type="text" name="uName" class="question" id="uName" required />
<label for="uname"><span>Username</span></label>
<input type="password" name="password" class="question" id="password" required />
<label for="password"><span>Password</span></label>
<input type="submit" value="Login" />
</form>
I have created a Username and Password field with wix form editor giving them required field ids and a Submit button.
I don't know how to put them together and send the data to https://my-eoffice.com/client/postLogin.php with post method.
And open the redirected page in new tab.
Hi,
You redirect to a new tab when linking the submit button.
You can use HTTP functions to send data from the site, check it out here.
Good luck:)