Forum Discussion
jpierlot When I try the URL <community>/t5/user/userregistrationpage/registration-type/invitation_id I unfortunately get redirected to the landing page, so I have to assume things here (might be something that needs to be enabled somewhere, the "Invititation Code"-Thing?).
You most likely gonna get a form with a text input, you'll most likely have to code around this and add some custom jQuery logic to fill in the registration ID which you can pass with the URL from the email, e.g. you would change (in the email template):
${emailUrls.getTapestryUrl("/user/userregistrationpage/registration-type/invitation_id")}
to
${emailUrls.getTapestryUrl("/user/userregistrationpage/registration-type/invitation_id")}?reg_id=${user.registrationId}
the "reg_id" (call it whatever you like) URL parameter could then be read with jQuery/JavaScript and pre-filled into the text-input of the form on that page, something like this:
var param = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); var reg_id = param[0].split('=')[1]; if ( reg_id.length ) { $('<selector.for.text.input>').val(reg_id); }
this is untested code and pretty crude, but should give you a basic idea of what I'm talking about =)...
Related Content
- 6 years ago
- 3 years ago
- 2 years ago