|
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
form collection
Hello,Chad Gray 09/05/08 02:25 P > Hello,Charlie Griefer 09/05/08 02:38 P Hello, I am using argumentCollection=form to dump all of the form fields into a CFC. I would like to add to the form collection one more variable called Alias. I tried this but the variable FORM.Alias does not appear to actually be in the collection. <cfset FORM.Alias = application.page.makeAlias(form.Name)> <cfset application.page.savePage(argumentCollection=form) /> How do I append one more form field to the collection? ----- Excess quoted text cut - see Original Post for more ----- why not just use a hidden form field in the form itself? <input type="hidden" name="alias" value="..." /> ? -- I have failed as much as I have succeeded. But I love my life. I love my wife. And I wish you my kind of success. I need to take what they type into the form "Name" field and remove illegal characters and then that becomes the "Alias" variable I need to insert into the database. I suppose I could run my MakeAlias function inside of the savePage function. I will give that a try. ----- Excess quoted text cut - see Original Post for more ----- Hmm never mind. I had an error in my code that made me think Alias was not being added to the collection. It appears to work now that I found my real bug. Chad ----- Excess quoted text cut - see Original Post for more -----
|
Mailing Lists
|
Latest Fusion Authority Articles
|
||||||