London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Store subscriber info.

Vote:
0

Hi!

 

How would i go about making  a function to save email subscribers? I want a form on a page where you enter your name and email adress and then you store it in the database. Thanks!

#58866
May 09, 2012 16:01
Vote:
0

I would just store it in dynamic data store. There's an excellent tech-note on DDS, make sure to also check out the examples.

Take a look there first, I can also post some examples if you want.

Frederik

#58869
May 09, 2012 19:54
Vote:
0

Why not just use an xform for this functionality ?

#58907
May 10, 2012 16:48
Vote:
0

The XForm approach has some advantages but looping and removing data is ugly. It's also a bit ugly to extend if what you need to add should be invisible in the public form.

Much nicer to store POCO's in the DDS in that respect.

#58911
May 10, 2012 19:06
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.