[pmwiki-users] {(...)} markup recipe available
Hans
design5 at softflow.co.uk
Sun Apr 15 16:53:56 CDT 2007
A question about using rand:
I am failing to use {(rand 100 999)} for random number generation for
access code. I do get nice random numbers, but when submitting the
post I get an error, saying basically the number typed is not the
random number given. So is this markup expression not suitable for
this purpose?
In the form I have:
Enter code %red%{(rand 100 999)}
(:input text access size=3 class=inputtext :)
(:input hidden accesscode {(rand 100 999)} :)
And the script checks if access==accesscode
~Hans
More information about the pmwiki-users
mailing list