its from a form field, not a url, but it is a url.
=]

On Thu, Nov 15, 2012 at 9:43 AM, Marty Franklin <[email protected]>wrote:

>
> Can you just access through the url scope?
>
> <cfdump var="#url.chapter_id#">
>
> Best Regards,
>
> *Marty Franklin*
> /Information Technology/
>
> *Asset Research Services, Inc.*
> [email protected] <mailto:[email protected]>
>
>
> On 11/15/2012 7:28 AM, morchella wrote:
> > hey guys!
> > i could use a liitle help. i am trying to get a specific value. in this
> > example "chapter_id"
> > ListgetAt could work, but the returned form url cold have the value in a
> > different oposition at any time.
> > i thought i could use a delimiter specifiying ,"chapter_id=" but that
> dosnt
> > seem to work.
> >
> > <cfset FORM.some_url = "
> >
> http://somesite.com/some_display.cfm?some_id=4184&chapter_id=12120&passage_id=40099
> "
> > />
> > <cfset getChapterId = trim(ListLast(FORM.some_url,"chapter_id="))>
> > <cfset Param2 = ListGetAt(FORM.some_url,2,"&")>
> >
> > Param2: chapter_id=12120 << << Right, but only some times.
> > getChapterId: 40099  << << Wrong
> >
> > thanks a bunch.
> > i googled every thing from listtoarray to <cfdump
> >
> var="#getPageContext().getRequest().getParameterValues('FORM.some_url')#">
> > Which dosnt seem to gel with cf7!!
> > thanks a bunch for clear out the cob webs this am..
> > -m
> >
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353174
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to