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.
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.
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?
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