• 0

Need help combining inputs into one output for XML (code included)


Question

I am at the end of my rope here. I've tried everything I know how to do.

 

I have a webform that sends the information to Quickbase (a CRM). Everything works because the name"" in the input fields matches the data fields in the CRM. Except for four things:

• New Address Referring Agent Referring Company Agent Email

• All four of those SHOULD output into "_fid_12" which is Referral Notes field 12.

• So the variables aa through dd have been made, but still nothing transmits.

 

Please tell me what I'm missing. It's put me 5 days behind so far. Code is below (without the server sensitive data).

 

 <div id="desktop-contact-form">
    <div>   
        <form name="qdbform" method="POST" onsubmit="return validateForm(this)" encType="multipart/form-data" action="https://CRM-DOMAIN-APP-ROKEN-URL">
            <input type="hidden" name="fform" value="1">
            <table>
                <tr>
                    <td>First Name<span>*</span></td>
                    <td><input type="text" placeholder="Please enter you first name..." size="40" name="_fid_6" ></td>                      
                </tr>
                <tr>
                    <td>Last Name<span>*</span></td>
                    <td><input type="text" placeholder="Please enter your last name..." size="40" name="_fid_54" ></td>
                </tr>
                <tr>
                    <td>Phone<span>*</span></td>
                    <td><input type="text" placeholder="Please enter your phone..." size="40" name="_fid_25" ></td>
                </tr>
                <tr>
                    <td>Email<span></span></td>
                    <td><input type="text" placeholder="Please enter your email..." size="40" name="_fid_24" ></td>
                </tr>
                <tr>
                    <td>New Address<span></span></td>
                    <td><input type="text" rows="1" placeholder="Enter your new address..." size="50" name="dd" ></td>
                </tr>                                       
                <tr>
                    <td>Move In Date</td>
                    <td><input type="date" size="40" name="_fid_11" ></td>
                </tr>
                <tr>
                    <td>Specific Notes</td>
                    <td><textarea name="_fid_46" rows="2" cols="40"></textarea></td>
                </tr>
                <tr>
                    <td>Referral Agent Name<span></span></td>
                    <td><input type="text" rows="1" placeholder="Enter agent's full name..." size="40" name="aa" ></td>                     
                </tr>
                <tr>
                    <td>Referring Company<span></span></td>
                    <td><input type="text" rows="1" placeholder="Enter referring company name..." size="40" name="bb" ></td>                        
                </tr>
                <tr>
                    <td>Agent Email<span></span></td>
                    <td><input type="text" rows="1" placeholder="Enter agent email..." size="40" name="cc" ></td>                       
                </tr>
            </table>
            <input type="hidden" name="rdr" value="http://myfreeconnection.com/thank-you.html">
            <input type="hidden" name="_fid_12">
            <input type="submit" value="SUBMIT" class="btn">
        </form>     
        <p><strong>For Immediate Assistance, please call 877-528-3824</strong></p>
    </div>
</div>  
<!-- desktop contact form -->

    <!--======= ACCORDING =========-->      
    </div>
    <section class="padding-top-50 padding-bottom-30"></section>
<!-- </section> -->

    <!-- Work Process -->
    <div class="work-process">
      <ul class="row">

<!--======= FOOTER =========-->
<footer>
<div class="container"> 
    </div>
</footer>

<!--======= RIGHTS =========-->
<div class="rights">
<div class="container">
  <p>Copyright </p>
</div>
</div>
<script src="js/jquery-1.11.3.min.js"></script> 
<script src="js/bootstrap.min.js"></script> 
<script src="js/own-menu.js"></script> 
<script src="js/jquery.isotope.min.js"></script> 
<script src="js/jquery.lighter.js"></script> 
<script src="js/jquery.cubeportfolio.min.js"></script> 
<script src="js/owl.carousel.min.js"></script> 
<!-- SLIDER REVOLUTION 4.x SCRIPTS  --> 
<script type="text/javascript" src="rs-plugin/js/jquery.tp.t.min.js">        
</script> 
<script type="text/javascript" src="rs-plugin/js/jquery.tp.min.js">   
</script> 
<script src="js/main.js"></script>

<!-- added for contact form -->
<script lang="javascript">
function CheckForOther (item, origlen)
{
var sitem = item.options[item.selectedIndex];

if (item.selectedIndex == (item.length - 1))
    {
    var val = prompt ("ADD A NEW CHOICE:", "");

    if (val == null)
        item.selectedIndex = ;
    else    
        {
        var slen = item.length;

        if (slen == origlen+1){
            item.options[slen] = new Option (sitem.text, sitem.value);
                    }

        item.options[item.length-2].text = val;
        item.options[item.length-2].value = val;
        item.selectedIndex = item.length-2;
        }
    }
}
</script>
<script lang="javascript">
function validateForm()
{/*
if(theForm._fid_25.value == "")
{
alert('Please enter a value for the "Phone" field.');
theForm._fid_25.focus();
return (false);
}*/
var theForm=document.qdbform;
var a = theForm.aa.value;
var b = theForm.bb.value;
var c = theForm.cc.value;
var d = theForm.dd.value;
var rnote = "Referral Company: "+a+"\nReferral Agent: "+b+"\nAgent      
Email: "+c+"\nNew Address: "+d;
theForm._fid_12.value = rnote;
return true;
}
</script>

That's what I have, and it almost looks like "theForm._fid_12.value = rnote" should be different, but I don't know what else to do.

 

There are no other files on the server designating the process of things. All the code is written here. Please help. I'm desperate for this to start working.

4 answers to this question

Recommended Posts

  • 0

After getting suggestions and different lines of code from other people, it almost feels like something is wrong on my end in Dreamweaver.

 

There are no other files in process here. Everything is inline. Could it be something in DW? I'm stumped.

  • 0

I ran your code in a Chrome browser and it works.

 

I had to delete the CheckForOther function so maybe that's a clue

 

Otherwise it's a server issue

 

Also, it's been long time since I played with webby stuff but Multpart encoding doesn't seem right for a simple form...

 

  • 0

Hmm, okay. I'll make the adjustment. I don't know what is causing such a hiccup. I'm going to have to create random fields in the CRM so I eliminate this multipart data and just make each field correspond with only one field in the CRM. Thank you for your input.

  • 0

 

47 minutes ago, BlakeHammerton said:

Hmm, okay. I'll make the adjustment. I don't know what is causing such a hiccup. I'm going to have to create random fields in the CRM so I eliminate this multipart data and just make each field correspond with only one field in the CRM. Thank you for your input.

Multipart is normally used for file transfer uploads. Simple form whatver is in it is just a single transmission.

 

 

This topic is now closed to further replies.
  • Posts

    • Nice, hope they *finally* fixed the issue with the NTFS driver where the system would completely brick during large file copies using the built in driver. It's been broken for years requiring me to use the older, slower, NTFS-3G FUSE driver.
    • Windows 11 KB5094126 BSODing, freezing, forcing BitLocker lockout, breaks OneDrive, and more by Sayan Sen Microsoft released Windows 11 KB5094126 and KB5093998 last week as the latest Patch Tuesday updates. Following that the company also published the accompanying dynamic updates under KB5094149, KB5095971, and KB5094156. While Microsoft has so far not acknowledged any major problems with the release, some users online are running into problems. These range from OneDrive and Dropbox access issues, BitLocker recovery lockouts, to blue screens and BSODs. The most common one seems to be happening with HP systems wherein affected users say they hit 0xc0430001 BSOD (blue screen of death) error code after the KB5094126 update. We wonder if this could be related to the recent bug we covered on HP devices wherein the ongoing Secure Boot certificate updates are leading to similar issues. While we are not certain, users affected by this issue likely need to ensure that the boot.stl file is included on the installation media (such as a USB installer or ISO), if the above-mentioned dynamic updates are deployed. If this file is missing, computers may fail to boot from the installation media and could display the error 0xc0430001. This STL file is used by Secure Boot to verify that the boot files are trusted, so it must match the same Windows version and system architecture. To ensure the file is included, Microsoft recommends using the Update WinPE script, which automatically updates the image and handles the required files. Alternatively, you can manually copy the boot.stl file from the Windows\Boot\EFI folder on a Windows device and place it in the matching folder on your installation media before deploying the updated image. Aside from blue screening some users also note their systems have been freezing following the update. This could be happening to Lenovo PCs specifically. In the case of the OneDrive and Dropbox access issues, a user figured out that there could be a conflict with UAC. He explained: "Okay, so I did some digging, and in our environment KB5094126 breaks OneDrive and Dropbox in Explorer. I went through all our GPOs and found out that the combination of disabling UAC and having my user being a local admin breaks OneDrive in Explorer. ... If I enable UAC again, then it works, even with KB5094126 still installed." Hopefully, Microsoft will look into these issues. Source: Microsoft forum (link1, link2, link3, link4), Reddit (link1, link2, link3, link4)
    • It is when it's a desktop in my house though for a PC that's lightly used and not really important when it is. If it was a laptop, it would be a different story. The real solution is varied and begins starting at post #22 in that thread.
    • Win11Debloat 2026.06.14 by Razvan Serea Win11Debloat is a lightweight, easy to use PowerShell script that allows you to quickly declutter and customize your Windows experience. It can remove pre-installed bloatware apps, disable telemetry, remove intrusive interface elements and much more. The script also includes many features that system administrators and power users will enjoy. Such as a powerful command-line interface, support for Windows Audit mode and the option to make changes to other Windows users. All changes made by Win11Debloat can be easily reversed, and most removed apps can be restored via the Microsoft Store. A full guide on how to undo the changes is available here. Win11Debloat features: Below is an overview of the key features and functionality offered by Win11Debloat. Please refer to the wiki for more information about the default settings preset. Remove a wide variety of preinstalled apps. Click here for more info. Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads. Disable tips, tricks, suggestions & ads across Windows. Disable Windows location services & app location access. Disable Find My Device location tracking. Disable 'Windows Spotlight' and tips & tricks on the lock screen. Disable 'Windows Spotlight' desktop background option. Disable ads, suggestions and the MSN news feed in Microsoft Edge. Hide Microsoft 365 ads on the Settings 'Home' page, or hide the 'Home' page entirely. Disable & remove Microsoft Copilot. Disable Windows Recall. Disable Click to Do, AI text & image analysis tool. Prevent AI service (WSAIFabricSvc) from starting automatically. Disable AI Features in Edge. Disable AI Features in Paint. Disable AI Features in Notepad. Disable the Drag Tray for sharing & moving files. Restore the old Windows 10 style context menu. Turn off Enhance Pointer Precision, also known as mouse acceleration. Disable the Sticky Keys keyboard shortcut. Disable Storage Sense automatic disk cleanup. Disable fast start-up to ensure a full shutdown. ...and more. Once you’ve downloaded the Win11Debloat file (Get.ps1), just follow these quick steps: Locate the Get.ps1 script file. Right-click the file and select Run with PowerShell from the context menu. If prompted by User Account Control (UAC), select Yes to grant the script the necessary administrative permissions. Win11Debloat 2026.06.14 changes: This is a minor release that hopefully addresses the false positives in Windows Defender and Bitdefender that prevented users from downloading and/or running Win11Debloat. Refactor Get-RegFileOperations.ps1 to address false positives by @Raphire in #626 Add logging around WinGet app retrieval and increase timeout to 20s by @Raphire Download: Win11Debloat 2026.06.14 | Open Source View: Win11Debloat Home Page | Screenshots 1| 2 Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • Week One Done
      Jeroen Wilms earned a badge
      Week One Done
    • Week One Done
      rolfus earned a badge
      Week One Done
    • One Month Later
      Leroy Jethro Gibbs earned a badge
      One Month Later
    • Conversation Starter
      flexorcist earned a badge
      Conversation Starter
    • One Month Later
      AndreaB earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      508
    2. 2
      +Edouard
      198
    3. 3
      PsYcHoKiLLa
      138
    4. 4
      ATLien_0
      90
    5. 5
      Steven P.
      81
  • Tell a friend

    Love Neowin? Tell a friend!