iPaaS Dynamic Forms - Custom control - how to get back the value

I have a Dynamic form with a custom Account Control broken into 5 parts. I need to be able to pull these values out individually, or even as one value hyphen separated. See Custom HTML below:

 

<style>th { font-size: 0.8em }
table { border-collapse: separate; border-spacing: 6px }</style>

<table>
  <thead>
    <tr>
      <th>Fund</th>
      <th>Program</th>
      <th>Location</th>
      <th>Department</th>
      <th>Account</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><input type="text" name="fromfund1" maxlength="2" style="width: 2ch"></td>
      <td><input type="text" name="fromprogram1" maxlength="4" style="width: 4ch"></td>
      <td><input type="text" name="fromlocation1" maxlength="2" style="width: 2ch"></td>
      <td><input type="text" name="fromdepartment1" maxlength="5" style="width: 5ch"></td>
      <td><input type="text" name="fromaccount1" maxlength="5" style="width: 5ch"></td>
    </tr>
  </tbody>
</table>

 

Can anyone tell me how to accomplish this in iPaaS?

Tags ipaas-dynamic-forms ipaas-custom-control iPaaS dynamic-forms
Asked by Will Tonkin on Fri 4/19/24 10:24 AM Last edited Tue 5/7/24 4:57 PM
Sign In to leave feedback or contribute an answer

Answer (1)

This answer has been marked as the accepted answer
Michael Ligouri Fri 7/26/24 12:54 PM

Hi Will,

With the Custom HTML fields, stuff in there doesn't actually get included as part of the response when a form is submitted. Only data within standard fields (text boxes, drop downs, radio buttons, date pickers, etc). When I put your HTML into a test form of mine, this was the response when I pressed the Submit button.

{
    "Response": {
        "Letters": "",
        "Letters_Text": "Please make a selection",
        "DropDownList18": "",
        "DropDownList18_Text": "",
        "Numbers2": "",
        "Numbers2_Text": "",
        "DropDownList23": "",
        "DropDownList23_Text": "",
        "DropDownList21": "Select a letter",
        "DropDownList21_Text": "Select a letter",
        "DropDownList25": "",
        "DropDownList25_Text": "",
        "DatePicker29": null,
        "StateSelector29": "AK",
        "StateSelector29_Text": "Alaska",
        "DropDownList30": "",
        "DropDownList30_Text": "",
        "_Result": "PrimaryButton16"
    }
}

To have these values included in a form response, you would need to use standard text boxes.

Cheers,
Mike Ligouri
Technical Support Consultant

No feedback