Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Using profiles mechanism to check form fields content



At 08:02 PM 12/8/00 +0300, you wrote:
>Hello Minivenders !
>Is it possible to use profile mechanism (like "order_profile") to verify 
>fields on the page(not ord/checkout)?
>If yes, could you provide the reference to example, please.
>I have viewed the account.html page from MiniVend's sample.
>It contains some encouraging code:
>---------------------------------------------------------[account.html 
>excerption]--
>[comment]
><!-- Account change profile in etc/order.profiles -->
>[/comment]
><INPUT TYPE=hidden NAME=mv_order_profile VALUE=account_change>
><INPUT TYPE=hidden NAME=mv_todo     VALUE=return>
><INPUT TYPE=hidden NAME=mv_nextpage VALUE=account>
><INPUT TYPE=HIDDEN NAME=mv_check    VALUE="Save_database">
>---------------------------------------------------------[end of 
>account.html excerption]--
>but nothing happened when I leave empty some required fields. No 
>verification messages occured, the system proceedes with saving my data.
>On the site demo.akopia.com you can see the same situation.
>
>I very like the the idea of verification profile and hope for your help.
>     Dmitry Ostretsov


Dimtry - I have done this by setting mv_order_profile in a hidden input to 
the name of the profile I want to use, then in that profile I can use most 
of the statements and arguments that are available to checkout 
profiles.  The differences within the profile (this was in MV3, some 
parameters may have changed) were omitting &final=yes, so that the order 
does not get placed when the form is submitted, and setting mv_successpage 
to the page I want to display if the submission passes all the checks.

- Ed L.


 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          edl@newmediaems.com
Placerville, CA  95667         http://www.newmediaems.com
(530) 622-9421                 (530) 622-9426 Fax
(866) 519-4680 Toll-Free
 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>


_______________________________________________
Minivend-users mailing list
Minivend-users@minivend.com
http://lists.akopia.com/mailman/listinfo/minivend-users


Search for: Match: Format: Sort by: