Custom profile documentation and a question

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
11/5/2011 9:21:06 AM
Gravatar
Total Posts 537
feet planted firmly on the ground

Custom profile documentation and a question

Hi Joe

1. documentation:

I have been creating a custom profile and using the documentation page here:

http://www.mojoportal.com/userprofileconfiguration.aspx

There's a useful setting that is not documented:

showOnRegistration="true"

When used with requiredForRegistration="false" this allows fields to be displayed on the registration page, without being mandatory.

2. an observation and question:

I want to modify your gender example to require the user to specify gender, but without setting a default value of M or F. Using your example from the docs page, the user can get in without specifying gender, presumably because of the default <Option value="" TextResourceKey="GenderUnselectedLabel"></Option>

So I thought I'd add a regexp validation like so: regexValidationExpression="M|F"

but it has no effect and does not render into the page. Regex validation appears not to work on profile settings that use drop-down lists.

Any suggestions?

 

 

11/7/2011 6:52:55 AM
Gravatar
Total Posts 18439

Re: Custom profile documentation and a question

Hi Crispin,

I've updated the article to include that property.

I will fix it so that regexValidation can be used with dropdown list, so this will work in the next release of mojoPortal.

Thanks,

Joe

You must sign in to post in the forums. This thread is closed to new posts.