AnsweredAssumed Answered

Need help with a 'URL/Website' text field script...

Question asked by brianquillin on Feb 25, 2012
Latest reply on Feb 25, 2012 by brianquillin

Title

Need help with a 'URL/Website' text field script...

Post

I have a text field designated to input a URL or web address on a contact page.  At the bottom of the page, I have a browser area to display this collected address.

Some addresses are entered via copy/paste - which usually include 'http://'.  Some addresses are typed in manually and do not include 'http://'.

What would a simple script be to check that field's content to determine whether 'http://' is there or not?  AND, if it's not there, automatically add it so the browser area displays the website.

***Separate but related*** Could anyone provide a script (to be assigned to a button) that could capture a URL from a visited page using the FMP 11 browser area?  (This should replace the URL in the text field at the top of the layout).

Thanks in advance...

Outcomes