DemocracyClub / yournextrepresentative

👥 A website for crowd-sourcing structured election candidate data
https://candidates.democracyclub.org.uk
GNU Affero General Public License v3.0
21 stars 27 forks source link

Accept .uk addresses in Homepage field #2376

Open pmk01 opened 3 months ago

pmk01 commented 3 months ago

Screenshot 2024-06-10 121235

VirginiaDooley commented 3 months ago

It's not the .uk that is the issue here. It's that https:// is missing.

sjorford commented 3 months ago

could the form automatically add https:// if it is missing? (notwithstanding that there are a few http:// sites still)

edent commented 3 months ago

Instagram also has this problem. Would it be possible to change the field to <input type="url" to stop the form being submitted without a proper URl in there? I'd also suggest a placeholder="https://www...." or similar to make it obvious what needs to be typed in.