Form builder

steelej's Avatar

steelej

02 Apr, 2012 06:31 PM

I'm working on setting up form-builder. I've gone through the steps carefully and am to the point of testing my first generic form. Upon submission, the confirmation doesn't come up and the data isn't emailed or written to the server. Is there a way to troubleshoot this?

  1. 1 Posted by steelej on 03 Apr, 2012 01:35 PM

    steelej's Avatar

    I note that error reporting is in the php script for display-form. No error is displayed and the script is not executing. I'm going through the setup directions again to check everything. I note also that in the form data definition, it's not allowing me to input into the form instructions wysiwyg.

  2. 2 Posted by Bradley Wagner on 03 Apr, 2012 09:43 PM

    Bradley Wagner's Avatar

    Can you please attach any scripts or files that you're working with? Particularly anything that looks to be the form handling code.

    That functionality is not native to Cascade so I want to make sure we're looking at the same thing.

  3. 3 Posted by steelej on 04 Apr, 2012 11:40 AM

    steelej's Avatar

    I'm following the directions found here: http://www.hannonhill.com/kb/Form-Builder-PHP/index.html.

    The format attached handles the form when it is submitted. I'm not quite sure what else you need to see. I note that the form action comes out as ?submitted=true.

  4. 4 Posted by steelej on 04 Apr, 2012 12:57 PM

    steelej's Avatar

    Please let me know what else I can provide to help sort this out.

  5. 5 Posted by Nadira Yasmeen on 12 Apr, 2012 05:56 PM

    Nadira Yasmeen's Avatar

    Is SOAP enabled in your PHP installation?

  6. 6 Posted by steelej on 12 Apr, 2012 06:33 PM

    steelej's Avatar

    Thanks for your reply,
    I have this set in my php.ini:

    [soap]
    ; Enables or disables WSDL caching feature.
    soap.wsdl_cache_enabled=1
    ; Sets the directory name where SOAP extension will put cache files.
    soap.wsdl_cache_dir="/tmp"
    ; (time to live) Sets the number of second while cached file will be used
    ; instead of original one.
    soap.wsdl_cache_ttl=86400

  7. 7 Posted by Penny on 16 Apr, 2012 05:37 PM

    Penny's Avatar

    You might need to update the link to your wsdl in the velocity format to include the port by using the following url https://cascade.wit.edu:8443/ws/services/AssetOperationService?wsdl

    Let me know if you still have issues after this.

  8. 8 Posted by steelej on 25 Apr, 2012 03:10 PM

    steelej's Avatar

    Penny,
    Thanks. I'm finally back to working on this. Your suggestion moved me along a bit. The form now submits and I see the form confirmation text. At at this point now:
    1. No email is sent.
    2. In writing to the Cascade server, the file is created but it does not hold the form data.

  9. 9 Posted by Penny on 30 Apr, 2012 01:44 PM

    Penny's Avatar

    Hi,

    1. I believe that you will need to make sure that mail() is properly setup in your php.ini file.
    2. Can you please attach the format as you have it in your CMS instance? Can you tell me what type of file is being created without results, the excel/xml file or a page? If page, can you attach the DD on the page being used? If excel/xml, can you verify that the additional file, class-excel-xml.inc.php, is where you say it will be in the velocity format?

    Thanks!

  10. 10 Posted by Penny on 21 May, 2012 12:38 PM

    Penny's Avatar

    Please let me know if you need any additional help with this issue. I will close it for now but please feel free to open it if you continue to have an issue with it.

    Thanks!

  11. Penny closed this discussion on 21 May, 2012 12:38 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac