It's possible but currently you would have to edit the code (in a future version there will be admin panel settings to do this).
So just add the HTML for your new select input in /upload/includes/template/form.php
Then add some code to /upload/includes/app/processor.php to make sure it's submitted and sanitized. Further down the file, you'll need to adjust the INSERT comment query to include the value of the select input.
Obviously you would also need to add a new column to the comments database table.
Hi Steven,
I followed your advice to Classkeeper above and edited form.php, processor.php and also added a new corresponding column in the comments database table. However, my new field does not appear on any forms, new or old. Could there be more files involved that need to be edited?
What I did was basically use the country code & countries.php file from the country dropdown since my new field needs to be a dropdown. There are no errors or anything, the new field just doesn't appear anywhere. I am wondering if the new field would need to appear in the dashboard so that it could be enabled or something?
Can you attach the files that you've changed and I'll have a look when I next get chance.
Thanks Steven!
They are attached. One thing I did notice is that when I added "relationship" as case '1' (line 933 in form.php) and renumbered the other cases accordingly, the rating dropdown disappeared. So I just reverted the numbers and added "relationship" as case '7'. The ratings dropdown then appeared again. So I'm wondering there needs to be an accommodation for the new 7th case somewhere in the system so that it's acknowledged.
This is working great...Thank You much!
One small thing I noticed on the cookie/autofill now. It appears that the autofill is off by one field now and still showing the website autofill, even though I have that field hidden. (see attached)