Developer forum

Forum » CMS - Standard features » Email subscribe

Email subscribe

Lars Larsen
Lars Larsen
Reply

Hi

I want to setup a page for newsletter signup (Email Marketing). Therefore I have set up a paragraph with the Extranet app and these modulesettings:

  • Create profile / Manage subscription = selected
  • Create user - Template = "email_subscribe.html" (the standard template)
  • Create user - Approval = "By user"
  • Create user - Group for new users = an existing user group
  • Create user - Update existing users based on email match = selected
  • Create user - User email for user name = selected

Now when go to the subscription page and entering an email address and submitting the form I get "Error in the input field "Password": The password cannot be empty". Why doesn't this setup work out of the box?

Running DW v9.3.4


Replies

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply
This post has been marked as an answer

Hi Lars,

Yes, I've reproduced the issue on my environmet with Extranet module frontend has the settings mentioned above. Actually, the subscription works correctly when 'User email for user name' option is not checked, the user name of the user created is the email in the case. Perhaps, the option should be hidden for the subscription mode. New TFS 40406 has been created, will be fixed on further hotfix/release.

Thanks.

BR, Oleg QA

Votes for this answer: 1
 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Hi Lars

This TFS #40406 Manage subscription has been resolved in all 9.4+ versions

http://doc.dynamicweb.com/releases-and-downloads/releases

Let me know if you need any more help regarding this

Kind Regards
Dynamicweb Support
Kristian Kirkholt

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

6 years later and I still find myself spending way too much time doing a simple newsletter sign up form. I have the Extranet app with these settings:

Show: Create profile / Manage subscription

 

And this code:

@foreach (var error in GetLoop("FormValidationErrors"))
 {
<div class="alert alert-danger mb-3" role="alert">
  @error.GetString("UserManagement:User.FormValidationError.Message")
</div>
 }

@GetString("UserManagement:User.FormStart")
<input type="hidden" name="UserManagementForm" value="1">
<label class="form-label fs-7 mb-0 opacity-75">@Translate("Your email")</label>
<input type="email" class="form-control placeholder="@Translate("Email")" name="UserManagement_Form_Email" id="UserManagement_Form_Email" value="@GetString("UserManagement:User.Email")" required />
<label class="form-label fs-7 mb-0 opacity-75">@Translate("First name")</label>
<input type="text" id="CustomerFirstName" class="form-control" placeholder="@Translate("First name")" name="UserManagement_Form_FirstName" value="@GetString("UserManagement:User.FirstName")" required onchange="updateFullName();" />
<label class="form-label fs-7 mb-0 opacity-75">@Translate("Last name")</label>
<input type="text" id="CustomerLastName" class="form-control" placeholder="@Translate("Last name")" name="UserManagement_Form_LastName" value="@GetString("UserManagement:User.LastName")" required onchange="updateFullName();" />
<label><input type="checkbox" name="OptInCategory" value="" required /> @Translate("I consent to be included in your email database")</label>
<button type="submit" class="btn btn-primary btn-lg" id="CreateNewAccountButton">@Translate("Sign up")</button>
@GetString("UserManagement:User.FormEnd")


Yet when I submit, I get this:
 
My email is not empty! And I do not what to supply a password as I am just signing up a user?
 
What to do?
Imar

 

You must be logged in to post in the forum