Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contact form | Although a website is requested, a URL is required #419

Closed
Fraenkiman opened this issue May 26, 2024 · 1 comment
Closed
Labels

Comments

@Fraenkiman
Copy link
Collaborator

Hello everyone,

In the contact form, a URL (https://www.arvidzimmermann.de/) is declared as correct, although a website (www.arvidzimmermann.de) is requested.

Conditions/ Setup:
FlatPress 1.3.1 Release

Effect:
Although the person making the contact has specified their website, an input error is displayed.

Possible solution:
Before validation, it should be checked whether the contact has entered http:// or https://. If not, https:// is prefixed with the website and only then validated.

Best regards
Frank

@Fraenkiman Fraenkiman added the bug label May 26, 2024
Fraenkiman added a commit to Fraenkiman/flatpress that referenced this issue May 26, 2024
- If the commenting/contacting party enters their website without http(s)://, https:// is prepended, then validated.
Fraenkiman added a commit that referenced this issue May 26, 2024
- If the commenting/contacting party enters their website without http(s)://, https:// is prepended, then validated.
@Fraenkiman
Copy link
Collaborator Author

Closed with e34d905

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant