You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

FileattachmentUpload - Incident Id not posting to custom controller

Received Response
15
Views
1
Comments
edited Jun 7, 2022 1:21PM in General Technical Discussions 1 comment

Summary

Incident Id is not being sent in $_POST data to custom controller

Content

Hi I have a custom widget form that needs file upload capability - simple we would all think!

I have tried using:

  • FileattachmentUpload widget
  • custom widget that extends FileattachmentUpload
  • simple input field of type=file

For some reason none of these options will pass the incident ID on the form in the $_POST data to the custom controller. 

For example (a simple one) I have a widget: view.php has say the following code:

<form id="rn_smeUpload1" method="post" enctype="multipart/form-data" action="/cc/Webform_SME_Ctl/upload/">

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!