-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #380 from efshaperveen/main
Added tooltips in the contact form
- Loading branch information
Showing
2 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -248,10 +248,19 @@ | |
<form name="Dataverse Reviews" method="POST" data-netlify="true" id="feedback-form" | ||
onsubmit="return validateForm()"> | ||
<p style="color:white">Let Me Know Your Thoughts!</p> | ||
<div class="tooltip"> | ||
<input type="text" name="Name" placeholder="Your Name" required> | ||
<span class="tooltiptext">Please enter your full name here.</span> | ||
</div> | ||
<div class="tooltip"> | ||
<input type="email" name="Email" placeholder="Your Email ID" required> | ||
<span class="tooltiptext">Please enter a valid email like [email protected].</span> | ||
</div> | ||
<div class="tooltip"> | ||
<textarea name="Message" placeholder="Your thoughts on Dataverse" rows="4" required | ||
oninput="checkFeedbackLength(this)"></textarea> | ||
<span class="tooltiptext">Feel free to describe your thoughts in detail.</span> | ||
</div> | ||
<p id="feedbackError" | ||
style="color:#fd4346; opacity: 0%; font-size: 15px; white-space: normal; transition: opacity 0.4s ease "> | ||
Feedback must be at least 10 characters long.</p> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters