10376 Posts in 2191 Topics by 1708 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 700 Views |
-
UserForms - extending it a bit

2 March 2011 at 2:40am
I got a few questions about the UserForms module.
-> How do I (automatically) transfer all form request in a table, which I can manage through ModelAdmin in the CMS?
-> I want adres recognition by zipcode, based on a database which contains all streets & places. How do i enter these dynamic fields into the Form?
-> Each form entry must generate a unique number which will get stored in the db table, how do i do that?Hope to hear from you guys.
Thanks! -
Re: UserForms - extending it a bit

2 March 2011 at 10:40pm
1) You could setup a modeladmin interface around the 'SubmittedForm' dataobject. The SubmittedForm object has each field
2) Each form already gets a unique ID (for the primary key) as like every SS dataobject so you could use that.
-
Re: UserForms - extending it a bit

3 March 2011 at 11:47pm
thx willr
i will check this out in a few days, you will hear from me! -
Re: UserForms - extending it a bit

14 March 2011 at 12:30am
Hello (Willr)
Im back to extending the UserForm!
I want two emails to be send, one to the admin.. thats easy, just fill in email receipient.The other one should go to the customer but the text in the email is dynamic, so that makes it more difficult.
A script needs to be executed after 'send'. This script determines the nearest shops.. it will result in 2 addresses that will be send to the customer by email. I already have this script, but how do i run/include this script in the email that should be send.
The idea is that a discount coupon gets send to the email of the customer, with the nearest address on it.
Thx for your help!
| 700 Views | ||
|
Page:
1
|
Go to Top |

