Thanks for making this add on, I am able to make it work. But I have a question, I am trying to add more fields and can get them all set up except when I fill out the form, I get errors saying I need the required info. I think it may be the install file but I am not sure, the tables are in the database. All I did to the install file is change the info. here are the changes, and what the fields look like before and after I submit the form.
Code:
ALTER TABLE customers ADD customers_ca_id varchar(32) NOT NULL AFTER customers_fax;
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Display CA ID', 'DISPLAY_CA_ID', 'true', 'Display "ca id" on account creation page', '5', '6', 'zen_cfg_select_option(array(\'true\', \'false\'), ', now());
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Require ca id', 'CA_ID_REQUIRED', 'true', 'Require the Extra Field in account creation', '5', '7', 'zen_cfg_select_option(array(\'true\', \'false\'), ', now());
and the next one I installed
Code:
ALTER TABLE customers ADD customers_dr_rec varchar(32) NOT NULL AFTER customers_ca_id;
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Display DR REC', 'DISPLAY_DR_REC', 'true', 'Display "dr rec" on account creation page', '5', '6', 'zen_cfg_select_option(array(\'true\', \'false\'), ', now());
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Require dr rec', 'DR_REC_REQUIRED', 'true', 'Require the Extra Field in account creation', '5', '7', 'zen_cfg_select_option(array(\'true\', \'false\'), ', now());
Bookmarks