I have written our contact us page to insert the customer's information directly into vtiger as a lead. I am aware that the webforms add on does the same thing but I elected to write my own script. The script inserts data into tables:
<br><br>vtiger_crmentity<br>vtiger_leaddetails<br>vtiger_leadaddress<br clear="all">vtiger_leadscf<br>vtiger_leadsubdetails<br>vtiger_crmentity_seq - increments the value<br><br>In testing this appears to work just fine, however it occurs to me that I may have missed some possible constraints in the db that could result in data integrity issues if i didn't do this correctly. Are there any other tables that should be updated or any other areas I should be worried about?
<br><br>Also the webforms source seems exceedingly complex for a relatively simple task and it's too abstracted for me to be able to read easily. I'm not sure if it's doing checks that I should implement too. Does anyone have any insight into this?
<br>-- <br>Adam Vande More<br>Systems Administrator<br>Mobility Sales