[ic] form profile and &fatal=yes

Dan Bergan dan at berganconsulting.com
Thu Aug 24 18:14:52 EDT 2006


I am trying to use a form profile for my new_account page.  I've been 
able to determine that my form profile is being processed, but the 
account is being created even when a value fails the required checks.

For a simple example, I am using indirect login, but when I enter an 
invalid email address, the account still gets created.  Am I wrong in 
thinking that "&fatal=yes" should cause the rest of the profile to not 
be processed?  Also, I see a very similar question from last month with 
no resolution:
http://www.icdevgroup.org/pipermail/interchange-users/2006-July/045801.html

profiles.login:
__NAME__ NewAccount

mv_username=email
&fatal=yes

[if type=explicit compare="[userdb new_account]"]
    mv_nextpage=[either][cgi mv_successpage][or][cgi mv_nextpage][/either]
[else]
    mv_nextpage=[either][cgi mv_failpage][or][cgi mv_nextpage][/either]
[/else]
[/if]

__END__


new_account page (extra stuff removed):
<form action="[process secure=1]" method="POST">
[form-session-id]
<input type="hidden" name="mv_form_profile" value="NewAccount">
<input type="hidden" name="mv_doit" value="return">
<input type="hidden" name="mv_nextpage" value="member/account">
<input type="hidden" name="mv_successpage" value="member/account">
<input type="hidden" name="mv_failpage" value="new_account">

<input type="text" name="mv_username" value="">
<input type="password" name="mv_password" value="">
<input type="password" name="mv_verify" value="">

TIA -
Dan


More information about the interchange-users mailing list