This topic is locked
[SOLVED]

 Validate Fields in Registration

9/8/2005 6:00:59 PM
ASPRunnerPro General questions
T
techno author

Hi, Sergey:
I have just come realized 2 issues. Perhaps, I have missed something. When a new user registers and say leaves a field empty, he receives an ugly error page instead of a neat msgbox. example "cannot be zero-length string" would like to see "please enter a phone number" Can this be changed?
Also, is there any way to change the US currency say to match the choosen language. Or, even change from $ to a different currency sign?
Thanks in advance,

Marie

customcode 9/9/2005

Yes, I have come across the same problem

501247 9/10/2005

Hi, Sergey:
Is there a fix for these issues?

Regards,

Sergey Kornilov admin 9/11/2005

Registration page do not support validation. If you need to validate some data point users to users_add.asp page where you can use validation option.
To change US currency sign you need to choose another "Regional settings" option. Changing currency symbol on the fly is not possible because there is no direct correlation between language and regional settings. I.e. English language means USA or United Kingdom or Australia - which currency symbol should be displayed?

501248 9/11/2005

Hi, Sergey:
Thanks for the response. I have a client that is in Sweden and requires kr
quoted by my client "The Swedish kronor is reprisented as kr or :- prefrably kr"
Will it be necessary to generate the project over once this is changed, or can I just change the code?
Regards,

Marie

Sergey Kornilov admin 9/13/2005

Marie,
you can open ..._list.asp file and replace
Session.LCID = 1033
with
Session.LCID = 1053
Rebuilding your project with Swedish regional settings does the same thing.

501249 9/13/2005

Thank you Sergey!!!!
Is there a way to find out what other regional setting codes are in case I have a different currency request?
I appreciate your help.

Regards,

Marie

501250 9/13/2005

Never mind Sergey:
I found what I think the LCID code list online.
Best Regards,

Marie