One of my channel fields is for the user to enter a website address. I was therefore wondering if there is a way to prefill this form field with the prefix “http://” to attempt to ensure they include this for the website address?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
July 06, 2012 6:21am
Subscribe [4]#1 / Jul 06, 2012 6:21am
One of my channel fields is for the user to enter a website address. I was therefore wondering if there is a way to prefill this form field with the prefix “http://” to attempt to ensure they include this for the website address?
#2 / Jul 06, 2012 11:38am
Hey Mediakitchen,
I am not aware of a way to prefill this field unless you are using an external form. Then you could use simple HTML to add that to the text field. They could of course remove it, but it’s one way to accomplish this.
Were you looking for a prefill in the Control Panel?
Cheers,
#3 / Jul 06, 2012 11:47am
Thanks for the reply Shane.
Yes I was looking for prefill in the Control Panel. Is that possible?
#4 / Jul 06, 2012 11:49am
Hey Mediakitchen,
Not that I know of. I did a quick search at Devot:ee, but I do not see anything.
I can move this over to the Community Help Forum to see if there are any ideas, but they will probably require a core hack if it’s at all possible.
Cheers,
#5 / Jul 06, 2012 12:12pm
Thanks and happy for you to move it over. It is not a show stopper but would be useful to be able to do.
#6 / Jul 06, 2012 7:17pm
#7 / Jul 07, 2012 11:41am
I’d recommend having a look at VZ URL - it also does a check of the URL they’re entering to ensure it’s valid.