Akopia Akopia Services

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

[mv] Using profiles mechanism to check form fields content



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

Search for: Match: Format: Sort by: