[ic] Customer service area

Dan Browning interchange-users@icdevgroup.org
Fri Apr 4 15:15:01 2003


At 12:40 PM 4/4/2003 +0000, you wrote:
>I am not a interchange programmer, but I am trying to understand the code 
>and I
>want to add a page that will say "your information have been saved 
>succesfully"
>after you save the account intormation in the customer section. I was 
>trying to
>call tbe area for customer service after I submit the information. Something
>like this: <INPUT TYPE=SUBMIT VALUE="Save Acct. Info" a href="[area
>customerservice]">. The finality for this was that I was trying to go back to
>the customerservice area. My question is if there is anyway to use the save
>Acct.info button to go to a specific page that will be a clone of the
>customerservice.html, but with the header change to "your information have 
>been
>saved succesfully".

TIMTOWTDI

I believe you mean to refer to account.html instead of customerservice.html.

Here's a psuedo-patch that might do what you want:

   <FORM ACTION="[process secure=1]" METHOD="POST">
   <INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session id]">
+
+ <INPUT TYPE=hidden NAME=submitted VALUE="1">
+
   [if type=explicit compare="[error all=1 show_var=1 keep=1]"]
   <P>
   <b>[L]There were errors in your last submission.[/L]</b>
   <br>
   [msg arg.0="<SPAN style='color:red;'>" arg.1="</SPAN>"]They are shown in 
%sthis color%s below.[/msg]
   </P>
+
+ [else]
+    [if cgi submitted]
+        Thank you!  Your form was submitted successfully.
+    [/if]
+ [/else]
+
   [/if]

[comment] account_change profile in etc/profiles.order [/comment]


HTH,
-Dan

--
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| Dan Browning, Kavod Technologies,      <dan.browning@kavod.com> |
| 6700 NE 162nd Ave, Suite 210, Vancouver, WA (360) 843-4074 x217 |
\~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
A real patriot is the fellow who gets a parking ticket and rejoices
that the system works.