This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

eZ Community » Forums » Developer » Creating a user in one step and/or...
expandshrink

Creating a user in one step and/or validating input

Creating a user in one step and/or validating input

Monday 21 November 2011 3:03:57 pm - 2 replies

Hi,

I've tried searching for a solution to what I need and I'm getting lost. Maybe the answer is in one of the pages I've looked at but it is beyond me.

I'd like to have a simple register user form within the pagelayout rather than (or not just) in the user/register page. But going to user/register makes a new object which I'm not going to do every time somebody goes to any page on the site. Is it possible to send the form data to user/register without an object already waiting for it?

Alternatively I can make my own module that will register the user with a backend similar to http://share.ez.no/forums/developer/create-a-new-user-by-script but how do you validate the input?

Regards

Jon

Monday 21 November 2011 4:13:43 pm

Hello Jon,

For this kind of use case I would consider creating custom solution which meets your unique requirements and uses ezjscore (preferred) or a custom module view (just as acceptable). I would perform the validation via javascript through ajax requests to the ezjscore service or module view.

 

I hope this helps ...

 

Cheers,

Heath

Tuesday 22 November 2011 12:41:30 pm

Thanks.

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from