Re: (ot) jQuery Select
Tested a bit more this AM -- thanks Matt! Works as you specified. Appreciate the help! ~ Dakota On Wednesday, June 5, 2013, Matt Quackenbush wrote: > > First you're telling the window to move to the new URL before the submit > line. This means that the submit is never reached in the processing cycle. > > Next, when you remove the location change, "nothing happens" because you're > explicitly saying to do nothing. Remove the function from the submit() and > watch the magic take place. > > HTH > > Sent from a mobile something > On Jun 5, 2013 12:31 PM, "Dakota Burns" > > wrote: > > > > > I am trying to use an HTML Select form component to select & go to a URL. > > I'm using the attached jQuery to accomplish this. The selection opens a > new > > window to the intended URL but the submit function doesn't post the > hidden > > name/value pairs. I suspect my syntax is a bit in conflict since the > submit > > function isn't working as expected. When I pull the window.location > nothing > > happens. > > > > After googling "jquery select post" and related combinations, I haven't > > solved this one yet so thought I'd check here since CF programmers > > frequently use jQuery. > > > > Thanks in advance. > > > > > > $(function(){ > >$('##dynamic_select').bind('change', function(){ > > var url = $(this).val(); > > if(url){ > > window.location = url; > > $("##myForm") > > .attr("action", url) > > .attr("target", "_blank") > > .submit(function(){return false;}); > > } > > return false; > >}); > > }); > > > > > > > > > > > > > > Navigate too ... > > Library > > School > > History > > > > > > > > > > > > > > ~| 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:355874 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: (ot) jQuery Select
Thanks for the response ... doesn't work as I'd hoped. On Wed, Jun 5, 2013 at 12:41 PM, Matt Quackenbush wrote: > > First you're telling the window to move to the new URL before the submit > line. This means that the submit is never reached in the processing cycle. > > Next, when you remove the location change, "nothing happens" because you're > explicitly saying to do nothing. Remove the function from the submit() and > watch the magic take place. > > HTH > > Sent from a mobile something > On Jun 5, 2013 12:31 PM, "Dakota Burns" wrote: > > > > > I am trying to use an HTML Select form component to select & go to a URL. > > I'm using the attached jQuery to accomplish this. The selection opens a > new > > window to the intended URL but the submit function doesn't post the > hidden > > name/value pairs. I suspect my syntax is a bit in conflict since the > submit > > function isn't working as expected. When I pull the window.location > nothing > > happens. > > > > After googling "jquery select post" and related combinations, I haven't > > solved this one yet so thought I'd check here since CF programmers > > frequently use jQuery. > > > > Thanks in advance. > > > > > > $(function(){ > >$('##dynamic_select').bind('change', function(){ > > var url = $(this).val(); > > if(url){ > > window.location = url; > > $("##myForm") > > .attr("action", url) > > .attr("target", "_blank") > > .submit(function(){return false;}); > > } > > return false; > >}); > > }); > > > > > > > > > > > > > > Navigate too ... > > Library > > School > > History > > > > > > > > > > > > > > ~| 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:355870 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
(ot) jQuery Select
I am trying to use an HTML Select form component to select & go to a URL. I'm using the attached jQuery to accomplish this. The selection opens a new window to the intended URL but the submit function doesn't post the hidden name/value pairs. I suspect my syntax is a bit in conflict since the submit function isn't working as expected. When I pull the window.location nothing happens. After googling "jquery select post" and related combinations, I haven't solved this one yet so thought I'd check here since CF programmers frequently use jQuery. Thanks in advance. $(function(){ $('##dynamic_select').bind('change', function(){ var url = $(this).val(); if(url){ window.location = url; $("##myForm") .attr("action", url) .attr("target", "_blank") .submit(function(){return false;}); } return false; }); }); Navigate too ... Library School History ~| 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:355868 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Tracing Tool
Hi - I've taken over review of quite a large CF project built on CF8. Lots of pages and tons of code. Aside from CFDump, what is the best recommended tool to trace through the pages to learn what's succeeding and failing? I've been writing my own CF Web Apps for a number of years and realize things change and at times other CF'rs code looks quite foreign :-/ Thanks. Dakota ~| 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:352967 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Recommended Shopping Cart
Checked their demo and that looks like a good product -- thanks! On Wed, Nov 3, 2010 at 5:01 PM, Russ Michaels wrote: > > I spent a long time reviewing cf shopping carts and the best one I found > was > Site Director. > http://www.quilldesign.com/ > > Russ > > -Original Message- > From: Dakota Burns [mailto:dakota.bu...@gmail.com] > Sent: 03 November 2010 20:27 > To: cf-talk > Subject: Recommended Shopping Cart > > > Hi - > > I have a client that will be selling products, likely from multiple > suppliers. I've programmed a CF extranet that will spit out a coupon code > based on the number of points people accrue in the system. I need to > integrate the coupon code, and list products by supplier where shipping > rate > & taxes are handled effectively. I don't want to work with a crappy system, > and if possible, would prefer the cart be written in CF, but I suppose > that's not required. Budget is open depending on what impresses me as I'll > be the one deploying it and potentially teaching low-skilled computer > people > how to use some of the basics. > > On the low end, in terms of pricing, I've recently taken a brief look at > CFShopKart, and from what I can tell thus far, it looks to be supported and > may provide me with what I'm looking for since I can modify as I wish. > Which > shopping cart / ecommerce systems do you all use? If the cart is not > developed with CF, (most seem to be Php), have you needed to communicate > with the cart via any of your CF applications? > > Thank you, > Dakota > > > > > ~| 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:338815 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Recommended Shopping Cart
Hi - I have a client that will be selling products, likely from multiple suppliers. I've programmed a CF extranet that will spit out a coupon code based on the number of points people accrue in the system. I need to integrate the coupon code, and list products by supplier where shipping rate & taxes are handled effectively. I don't want to work with a crappy system, and if possible, would prefer the cart be written in CF, but I suppose that's not required. Budget is open depending on what impresses me as I'll be the one deploying it and potentially teaching low-skilled computer people how to use some of the basics. On the low end, in terms of pricing, I've recently taken a brief look at CFShopKart, and from what I can tell thus far, it looks to be supported and may provide me with what I'm looking for since I can modify as I wish. Which shopping cart / ecommerce systems do you all use? If the cart is not developed with CF, (most seem to be Php), have you needed to communicate with the cart via any of your CF applications? Thank you, Dakota ~| 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:338809 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: How to Capture Field Name with Two Input Variables
Outstanding response to my question here on CF-Talk! Thank you very much Dave, Arsalan, Russ, and Enigment -- the variety of your responses showing differing ways to accomplish this simple task is great. Thanks again! Dakota On Sat, Oct 23, 2010 at 11:34 AM, Dakota Burns wrote: > Hi - > > I have a form that contains an outcome field, which has an "_#ac_id" > appended to it so I can properly identify it (their can be many fields > passed in). I seem to be at a loss for how to output what appears to be two > variables as one ('#outcome_#ac_id##' -- see below query). Is their a way to > properly concatenate these or another recommended method? > > Thank you. > Dakota > > -- Referenced Query > UPDATE nonprofitContacts > SET outcome = '#outcome_#ac_id##' > WHERE nonprofitContacts_id = '#ac_id#' > ~| 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:338501 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
How to Capture Field Name with Two Input Variables
Hi - I have a form that contains an outcome field, which has an "_#ac_id" appended to it so I can properly identify it (their can be many fields passed in). I seem to be at a loss for how to output what appears to be two variables as one ('#outcome_#ac_id##' -- see below query). Is their a way to properly concatenate these or another recommended method? Thank you. Dakota -- Referenced Query UPDATE nonprofitContacts SET outcome = '#outcome_#ac_id##' WHERE nonprofitContacts_id = '#ac_id#' ~| 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:338493 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFLoop: Problem with variable wrapped in double quotes
Excellent advise -- thank you both for taking the time to respond. Best Regards, Dakota On Wed, Sep 23, 2009 at 4:11 PM, Rick Root wrote: > > If you're trying to dynamically generate code to put in a file, you > can't do it that way. > > Do this instead: > > > > > > > > >"c:\inetpub\uploads\pdf\resume_#i#.pdf"'> > > #out# > > Of course you won't see the output because it won't render ... but you > can write the contents of the "out" variable to a file or put it in a > DB or whatever. > > ALTERNATIVELY, if what you're actually tring to do is set the > variables, do this: > > > > > > > > >"c:\inetpub\uploads\pdf\resume_#i#.pdf"> > > "c:\inetpub\uploads\pdf\resume_#i#.pdf")> > > > > -- > Rick Root > CFFM - Open Source Coldfusion File Manager > http://www.opensourcecf.com/cffm > > ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326565 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFLoop: Problem with variable wrapped in double quotes
I have the following code below (codeblock 01), which outputs the following three lines correctly: CFSET varMergeFile1 = "c:\inetpub\uploads\pdf\resume_1.pdf" CFSET varMergeFile2 = "c:\inetpub\uploads\pdf\resume_2.pdf" CFSET varMergeFile3 = "c:\inetpub\uploads\pdf\resume_3.pdf" [CODEBLOCK 01: BEGIN] CFSET varMergeFile#i# = "c:\inetpub\uploads\pdf\resume_#i#.pdf" [CODEBLOCK 01: END] When I activate the cfset tag with angle brackets: , I get this error: "Invalid CFML construct found on line 11 at column 38. ColdFusion was looking at the following text: #" I then wrap double quotes around "varMergeFile#i#", and receive no error, but the file I'm outputting is invalid and I believe that variable is not being defined correctly. Is their another way to write the above where varMergeFile#i# is not required to be wrapped by double quotes? Thanks, Dakota ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326558 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT (slightly): Question re: Contracting Rate for Medium-sized Contract
Thanks for feedback Jason. I forgot about the expected double FICA tax, which essentially drops $100k income as self employed down to $92k, plus other standard taxes. (I'm sure it's also good advise to contact a good tax acct., in addition to lawyer when considering move to self employment.) ~ Dakota On Wed, Nov 19, 2008 at 6:35 PM, Jason Fisher <[EMAIL PROTECTED]> wrote: > I'm sure that others will be able to provide more specific responses, but > my primary advice to friends and family who contemplate a move to solo / > consulting as primary income is to remember the impact of covering all your > own FICA taxes (Social Security and Medicare) and your own health insurance, > which can be quite rough. FICA alone will run you an additional 7.65% on > top of your current marginal tax rate. > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315690 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
OT (slightly): Question re: Contracting Rate for Medium-sized Contract
I checked out the other HOF lists, and while I questioned the CF-Jobs list, this seemed the most appropriate since some of you are actively contracting/consulting and/or running your own corp or llc. My employer is financially in trouble and has said my employment will end in six months. My employer (small NPO with some funding from related Private Foundation), has given me the thumbs up for a contract of $50k next year, but my boss, the Director, hasn't agreed on my rate, which I sent in a mini-proposal last week. So - my question for those of you that are active or budding entrepreneurs is ... how many hours, or what rate would you provide a "special" client (if they even exist), for contracting with you for $50k over the course of a year, and you were to provide them with continued programming and support of an application suite you developed, which they'll be selling to hospitals, hotels, senior communities, and/or donating to NPOs, and computer/server support for small group of less than 10 ppl? (Also - most work is done remotely.) A little extra background pertaining to my slowly growing my business is such that I have commercial "moonlighting" clients I'm currently building and supporting CF/Sql applications, which pay my designated rate of $70-$80/hr, and Non Profits I give $65/hr too, (all invoiced for project proposals of set amounts, plus support requests, and all work done remotely). Unless my other larger proposal is accepted, my plans as an independent contractor during 2009 are going to be to sell blocks of hours at reduced rates, which provide my skills (network/systems management, database management, programming, etc.), to create a solid base income, and go after commercial clients with higher dollar agreements based on hosting, online marketing, and development/support. Keeping all this in mind, I don't want to lose my potential contract, but I'm likely to pass if the guy attempts to go to low and then not negotiate upwards towards my proposed amount, (which accounts for $5/hr more than I'm willing to take). Thanks, - Dakota ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315641 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdFusion Consultant as a Java Consultant?
Thanks all for the followup! I'm sorry, but it was "My Bad" on the subject line. I wasn't trying to suggest that a CF Developer could present him or herself as a Java developer, but rather present the idea of a CF Developer persuading a company to use ColdFusion versus Java for their web apps. (Will be more careful in wording my subject lines in the future.) Josh and Adam responded "spot on" with what I was inquiring about. My reason for the whole thread stems from recent search of the job marketing in the midwest USA. I've made a good career programming web apps with ColdFusion since version 3 by Allaire. ColdFusion and the community that surrounds it is quite awesome indeed! Thanks again! Dakota Adam and Josh summed it up perfectly On Thu, Sep 25, 2008 at 5:30 PM, Dave Watts <[EMAIL PROTECTED]> wrote: > > Wow ... thanks for the enlightenment Dave. I know CF > > programs aren't "written" in Java, but they can be run on > > J2EE servers, where other previously programmed Java/JSP apps > > may be running. > > That doesn't make you a Java developer. If I were to advertise myself as a > Java developer based solely on my CF experience, that would be fraudulent. > > > Perhaps a better question would have been to ask whether any > > of you CF Pros have persuaded someone looking to build their > > new web app with JSP on a J2EE server ... to instead use > > ColdFusion ... either as a deployable container ala "Railo", > > or Adobe CF8 Enterprise. > > Sure. CF makes a great replacement for JSP and all the templating libraries > out there (Velocity, etc.) But if you're going to use CF as just the > presentation tier (the normal role of JSP) you'd have to know how to write > servlets and beans in Java. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > > Fig Leaf Software provides the highest caliber vendor-authorized > instruction at our training centers in Washington DC, Atlanta, > Chicago, Baltimore, Northern Virginia, or on-site at your location. > Visit http://training.figleaf.com/ for more information! > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313101 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: ColdFusion Consultant as a Java Consultant?
Wow ... thanks for the enlightenment Dave. I know CF programs aren't "written" in Java, but they can be run on J2EE servers, where other previously programmed Java/JSP apps may be running. Perhaps a better question would have been to ask whether any of you CF Pros have persuaded someone looking to build their new web app with JSP on a J2EE server ... to instead use ColdFusion ... either as a deployable container ala "Railo", or Adobe CF8 Enterprise. ~ Dakota On Thu, Sep 25, 2008 at 1:38 PM, Dave Watts <[EMAIL PROTECTED]> wrote: > > For those of you CF developers > > that deploy your apps to J2EE Servers > > (or servlet containers, as is the case > > with Tomcat), have you been successful > > in situations where the employer > > wanted a Java Developer, and after > > talking to you with your CF skillset, > > felt comfortable they were serving their > > need for a Java Developer? > > If you can competently write programs in Java, you are a Java developer. CF > programs are not written in Java. If anyone here can answer your question > in the affirmative, the employer in question does not understand what Java > development is. > > Dave Watts, CTO, Fig Leaf Software > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:313084 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
ColdFusion Consultant as a Java Consultant?
I'm currently looking to make a career change, and I frequently see positions asking for "Java Consultants". For those of you CF developers that deploy your apps to J2EE Servers (or servlet containers, as is the case with Tomcat), have you been successful in situations where the employer wanted a Java Developer, and after talking to you with your CF skillset, felt comfortable they were serving their need for a Java Developer? Thanks, Dakota ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:313066 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Printer Question
Thank you Dave, Ian, and Claude! The CSS method should work fine (tested & works). Will keep the CFDocument method in mind for future reference as outputting to PDF is quite powerful. Best regards, - Dakota On Tue, Jul 29, 2008 at 10:17 AM, Claude Schneegans < [EMAIL PROTECTED]> wrote: > Just put this style in the first or for your new page: > STYLE="page-break-before: always;" > > -- > ___ > REUSE CODE! Use custom tags; > See http://www.contentbox.com/claude/customtags/tagstore.cfm > (Please send any spam to this address: [EMAIL PROTECTED]) > Thanks. > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310011 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Printer Question
Hi - I have an intranet form that allows users to print multiple listings by selecting a checkbox for each one. After the form is submitted, a long page is returned with each listing separated by a horizontal bar, (the code I'm using uses cfoutput to loop through the queried listings). When the user prints the batch of listings, they cut at the horizontal line in order to separate them, (some listings span 2.5 pages printed in portrait format). Is their a way through coding or a third-party tool, to print these listings in portrait format so new listings start on a new page? (This thought may be to "simplistic", but what I'm essentially looking to do is insert a page-break at the end of each loop.) Thanks for your help. ~ Dakota ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309865 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Capturing Variable Correctly
All set. Thanks for your response Bobby. On 7/24/07, Bobby Hartsfield <[EMAIL PROTECTED]> wrote: > > Try this... > > > > ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. > Bobby Hartsfield > http://acoderslife.com > > -Original Message- > From: Dakota Burns [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 24, 2007 11:46 PM > To: CF-Talk > Subject: Capturing Variable Correctly > > I have a form that provides form elements (file uploads & one text box per > grouping) in a loop. The names of my form elements (specifically the > problem one, which is the text box) are "variables.textread", and I've > concatenated an index value to each of the form fields. When the form is > submitted, I'm attempting to capture the value of "form.textread1" (where > 1 > is the first indexed value), and am having a problem doing so. My last > attempt is listed below, which results in an error stating " > form.textread.1" > is not defined. What's the best method for concatenating that index > value? > > > INCLUDED CODE > > > #text2learn# > > > Thanks, > Dakota > > > > > ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284491 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Capturing Variable Correctly
Works great - thanks Charlie! On 7/24/07, Charlie Griefer <[EMAIL PROTECTED]> wrote: > > #form["textread" & n]# where 'n' is your variable value. > > On 7/24/07, Dakota Burns <[EMAIL PROTECTED]> wrote: > > I have a form that provides form elements (file uploads & one text box > per > > grouping) in a loop. The names of my form elements (specifically the > > problem one, which is the text box) are "variables.textread", and I've > > concatenated an index value to each of the form fields. When the form > is > > submitted, I'm attempting to capture the value of "form.textread1" > (where 1 > > is the first indexed value), and am having a problem doing so. My last > > attempt is listed below, which results in an error stating " > form.textread.1" > > is not defined. What's the best method for concatenating that index > value? > > > > > > INCLUDED CODE > > > > > > #text2learn# > > > > > > Thanks, > > Dakota > > > > > > > > ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284490 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Capturing Variable Correctly
I have a form that provides form elements (file uploads & one text box per grouping) in a loop. The names of my form elements (specifically the problem one, which is the text box) are "variables.textread", and I've concatenated an index value to each of the form fields. When the form is submitted, I'm attempting to capture the value of "form.textread1" (where 1 is the first indexed value), and am having a problem doing so. My last attempt is listed below, which results in an error stating "form.textread.1" is not defined. What's the best method for concatenating that index value? INCLUDED CODE #text2learn# Thanks, Dakota ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284486 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
OT: Flash or Ajax to Compliment CF Project
I have a fairly large CF project coming up with an interactive piece that will involve changing colors on car parts (roll mouse over hood for design or color, select & post to database or session), possibly an audio greeting - that sort of thing. My experience with Flash was a large flash remoting project about 2-3 years ago - and my role was the programming, not design. Perhaps this is the wrong group, but does this sound like something either of you think Flash would be well suited for (and worth learning), or perhaps something that can be done with Ajax? Any examples, books, movies, or paid training materials either of you have run into would be helpful. Thanks, Dakota ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:249798 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4