Quote:
Originally Posted by tidy_boy
How do I create a form?
Thanks
|
As Abe has said in this thread, the setup instructions are all in the XML file, although they are spread out a bit and it might require a bit of troubleshooting to master. The general process I followed was:
1. Make a copy of product-form_hack.xml - name the file according to what kind of form you're creating for your own tracking purposes.
2. Edit product id to correspond with what you are creating
3. Edit title & description ""
4. Edit $formname "" (no spaces or weird characters, underscore is ok)
5. Study the "Customize Variables" section (begins at line 229 I think).
- You can leave any variables you don't plan to use there
6. Edit the "Usergroups Allowed" section according to your needs (line 273)
7. If you plan to create more than one form, edit the Templates section (starts @ line 278)
8. Continue editing the options that follow as needed.
9. Save & upload the product.
10. Call the form using http://www.YOURSITE.com/forum/newthread.php?do=[whatever you put as $formname]
It only took a couple of tries before I got the hang of it and it works like a champ.