Ask coding questions

← Back to all posts
This button isn't working! Could you help?
combusken

This link that I added onto here as a button isn't working for some reason. When you click on the submit button it doesn't take you to the specified website it just says incorrect/404 error. Can you plz help?
Here is the link to it: https://repl.it/@combusken/cyberunitysignupofficial

Answered by DrankArizonaIce [earned 5 cycles]
View Answer
Voters
BrylenBoehler
AugustParker
combusken
Comments
hotnewtop
DrankArizonaIce

<form action="https://cyberunityverify.combusken.repl.co"> line 56 index.html
This will not redirect your webpage. instead you'll have to add something to the button tag that redirects on submission.
<button onclick="window.location.href='https://cyberunityverify.combusken.repl.co';" type="submit" class="signup">Sign Up</button> line 57 index.html
side note
the action field is meant to submit the form to a .php page, it doesn't redirect to a different URL.

RyanH4

here you can copy these codes there is a extra page too
https://repl.it/@RyanH4/Login-form#index.php

gamesaver

also do a link then do css

AugustParker

heres the link, its just the info button thats not workinghttps://repl.it/@HaydenZamboni/VRCO

AugustParker

This info page on our real for class is not working can you please help?