Archive of UserLand's first discussion group, started October 5, 1998.
Re: Forms and links
Author: Samuel Reynolds Posted: 2/16/2000; 4:00:19 PM Topic: Forms and links Msg #: 15051 (In response to 15019) Prev/Next: 15050 / 15052
I'd like a user to be able to add a url to a text box on the form that would be a live link when the text is returned.Unless I'm not understanding what you're doing, it should be pretty simple. In your form handler (script), you'd build the link like this:
newLink = " Either that, or add the linkUrl/linkText to a table, and call a macro from your form page that would build multiple links from the table:pta^.userLinks^.[ argTable.linkUrl ] = argTable.linkTextandon UserLinks(linksTbl=html.getPageTable()^.userLinks) local ( outText = "" ) on Add( s ) outText = outText + s on AddLink( entryAdr ) Add( "Hope this helps.
- Sam
This page was archived on 6/13/2001; 4:54:20 PM.
© Copyright 1998-2001 UserLand Software, Inc.