abschlussprojekt-device-man.../ChatGPT/HTML Registration Form

28 lines
1.4 KiB
Plaintext
Raw Normal View History

reate me a simple register form in html with these inputs: rz_username, full_name, organisation_unit, password and password confirmation
Sure, here's a simple registration form in HTML with the inputs you specified:
html
<form>
<label for="rz_username">Username:</label>
<input type="text" id="rz_username" name="rz_username" required><br><br>
<label for="full_name">Full Name:</label>
<input type="text" id="full_name" name="full_name" required><br><br>
<label for="organisation_unit">Organisation Unit:</label>
<input type="text" id="organisation_unit" name="organisation_unit" required><br><br>
<label for="password">Password:</label>
<input type="password" id="password" name="password" required><br><br>
<label for="password_confirm">Confirm Password:</label>
<input type="password" id="password_confirm" name="password_confirm" required><br><br>
<input type="submit" value="Register">
</form>
In this form, each input has a label to describe it and a unique id attribute for accessibility and styling purposes. Each input also has a name attribute, which is what will be sent to the server when the form is submitted.
Note that the password and password_confirm inputs are of type password, which will hide the text the user enters. This is important for security reasons. The required attribute is added to each input to ensure that the user fills out all the required fields before submitting the form.