Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
weswhite7 #1
On form.subit, it removes part of my url
I have attached the code.. does anyone know why when you click submit it
doesn't process the form, instead redirects it to nearly the same url, but it
removes my editid variable which then gives me an error. Any ideas?
<cfif isDefined("form.subadminedit")>
<cfquery name="login_adm" username="sla" password="slaera" datasource="sla">
UPDATE login_adm
SET
name = <cfqueryparam value="#FORM.name#">,
position = <cfqueryparam value="#FORM.position#">,
login = <cfqueryparam value="#FORM.username#">,
login_passwd = <cfqueryparam value="#FORM.password#">,
login_type = <cfqueryparam value="#FORM.logintype#">,
look_feel = <cfqueryparam value="#FORM.lookfeel#">,
league_info = <cfqueryparam value="#FORM.leauge#">,
messaging = <cfqueryparam value="#FORM.messaging#">,
marketing = <cfqueryparam value="#FORM.marketing#">,
posit_it_notes = <cfqueryparam value="#FORM.postits#">,
field_condition = <cfqueryparam value="#FORM.fieldconditions#">,
rec_roster = <cfqueryparam value="#FORM.recruiterroster#">,
rec_login = <cfqueryparam value="#FORM.recruiterpassword#">,
sub_admin_setup = <cfqueryparam value="#FORM.subadmin#">,
season = <cfqueryparam value="#FORM.season#">,
rate = <cfqueryparam value="#FORM.scorevalue#">,
registration = <cfqueryparam value="#FORM.registration#">,
venue = <cfqueryparam value="#FORM.venue#">,
game_length = <cfqueryparam value="#FORM.gamelength#">,
time_between_games = <cfqueryparam value="#FORM.timebetweengame#">,
best_time = <cfqueryparam value="#FORM.besttime#">,
travel_time = <cfqueryparam value="#FORM.traveltime#">,
division = <cfqueryparam value="#FORM.division#">,
cross_division = <cfqueryparam value="#FORM.crossdivisionplay#">,
groups = <cfqueryparam value="#FORM.group#">,
pool = <cfqueryparam value="#FORM.poolplay#">,
cross_pool = <cfqueryparam value="#FORM.crosspoolplay#">,
team_seed = <cfqueryparam value="#FORM.teamseeding#">,
player_seed = <cfqueryparam value="#FORM.playerseeding#">,
game = <cfqueryparam value="#FORM.game#">,
game_card = <cfqueryparam value="#FORM.gamecard#">,
score = <cfqueryparam value="#FORM.score#">,
conflicts = <cfqueryparam value="#FORM.conflicts#">,
schedule = <cfqueryparam value="#FORM.scheduler#">,
team = <cfqueryparam value="#FORM.team#">,
team_roster = <cfqueryparam value="#FORM.teamroster#">,
team_Stats = <cfqueryparam value="#FORM.teamstats#">,
team_contact_info = <cfqueryparam value="#FORM.teamcontactinfo#">,
team_approval = <cfqueryparam value="#FORM.teamapprovalandpaperwork#">,
mgr_login = <cfqueryparam value="#FORM.managerloginpassword#">,
contact = <cfqueryparam value="#FORM.coachmanagerasstcoach#">,
contact_contact_info = <cfqueryparam
value="#FORM.coachmanagerasstcontact#">,
coach_card = <cfqueryparam value="#FORM.coachcard#">,
official = <cfqueryparam value="#FORM.referee#">,
assign_official = <cfqueryparam value="#FORM.assignreferee#">,
official_contact_info = <cfqueryparam
value="#FORM.refereecontactinformation#">,
player_guardian = <cfqueryparam value="#FORM.playerandguardians#">,
player_card = <cfqueryparam value="#FORM.playercard#">,
player_stats = <cfqueryparam value="#FORM.playerstats#">,
player_profile = <cfqueryparam value="#FORM.playerprofile#">,
player_approval = <cfqueryparam value="#FORM.playerapprovalandpaperwork#">,
player_contact_info = <cfqueryparam
value="#FORM.playercontactinformation#">,
player_login = <cfqueryparam value="#FORM.playerloginpassword#">
WHERE login_id = <cfqueryparam value="#form.login_id#">
</cfquery>
<h2 align="center">Update Complete</h2>
</cfif>
weswhite7 Guest
-
Clearing IE cache removes Flash
Whenever I clear the IE cache (Delete Temporary Internet Files) it also removes Flash from the browser. The next time I visit a site with Flash, it... -
'no leading boundary' multi-part form error
I had been suffering from this problem for ages. I just dealt with the problem by removing the enctype='multipart/form-data' from my <form>... -
Rebooting removes libauthmysql.so
Whenever I reboot my machine, libauthmysql.so gets deleted, so I can't use courier-imap anymore. I can't figure out why it's doing it, and it's... -
Executing code that is part of a control after it gets posted back from the form in the users browser.
Hello dear .NET'rs, I have made a simple RememberingTextBox control which looks in the session for a session variable with the same name as the... -
Advise (Best Practice) for a multi-part web form
Hi, I am looking for some advice on how to split up (multi-part) web forms. The first part of the form would be consistent for all users but... -
-
weswhite7 #3
Re: On form.subit, it removes part of my url
Yes I can, it is veryyyy long because the only way I could figure out to dynamically check the radio buttons was to use Dreamweaver's method.
weswhite7 Guest



Reply With Quote

