• 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

    • Dopamine 3.0.6 by Razvan Serea Dopamine is an awesome free audio player which tries to make organizing and listening to music as simple and pretty as possible. Dopamine has been designed for Windows 7, Windows 8.x and Windows 10 and plays mp3, ogg vorbis, flac, wma and m4a/aac music formats quite well. The best part? It's created by long-time Neowin member, Raphaël Godart. If you’re looking for a music player to handle a large music collection, you should definitely give Dopamine a try. Dopamine 3.0.6 changelog: Fixed Manually edited album covers are overwritten on the next collection refresh Fixed AppImage package not working on modern GNU/Linux distributions Deleting song from playlist sometimes fails Playback controls only work when clicking on upper half of the buttons It's unclear that files must be tagged with an external ReplayGain scanner (for example rsgain) before normalization can take effect. Change to Artist or Album tags is not reflected in the song list view nor in the Now Playing information ReplayGain issues Smart playlist filters ignore text containing accents or other special characters Some MP3 files trigger an "MPEG header not found" error due to a too-narrow initial MPEG header scan range Changed Updated the Vietnamese translation Download: Dopamine 3.0.6 | 122.0 MB (Open Source) Links: Home Page | Forum Discussion | Screenshot | Other OSes Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • BleachBit 6.0.1 Beta by Razvan Serea When your computer is getting full, BleachBit quickly frees disk space. When your information is only your business, BleachBit guards your privacy. With BleachBit you can free cache, delete cookies, clear Internet history, shred temporary files, delete logs, and discard junk you didn't know was there. Designed for Linux and Windows systems, it wipes clean thousands of applications including Firefox, Microsoft Edge, Google Chrome, Opera, Safari, and more. Beyond simply deleting files, BleachBit includes advanced features such as shredding files to prevent recovery, wiping free disk space to hide traces of files deleted by other applications, and vacuuming Firefox to make it faster. Better than free, BleachBit is open source. BleachBit has many useful features: Delete your private files so completely that "even God can't read them" according to South Carolina Representative Trey Gowdy. Simple operation: read the descriptions, check the boxes you want, click preview, and click delete. Multi-platform: Linux and Windows Free of charge and no money trail Free to share, learn, and modify (open source) No adware, spyware, malware, browser toolbars, or "value-added software" Translated to 64 languages besides American English Shred files to hide their contents and prevent data recovery Shred any file (such as a spreadsheet on your desktop) Overwrite free disk space to hide previously deleted files Portable app for Windows: run without installation Command line interface for scripting and automation CleanerML allows anyone to write a new cleaner using XML Automatically import and update winapp2.ini cleaner files (a separate download) giving Windows users access to 2500+ additional cleaners Frequent software updates with new features Going beyond standard deletion of files, BleachBit has several advanced cleaners: Clear the memory and swap on Linux Delete broken shortcuts on Linux Delete the Firefox URL history without deleting the whole file—with optional shredding Delete Linux localizations: delete languages you don't use. More powerful than localepurge and available on more Linux distributions. Clean APT for Debian, Ubuntu, Kubuntu, Xubuntu, and Linux Mint Find widely-scattered junk such as Thumbs.db and .DS_Store files. Execute yum clean for CentOS, Fedora, and Red Hat to remove cached package data Delete Windows registry keys—often where MRU (most recently used) lists are stored Delete the OpenOffice.org recent documents list without deleting the whole Common.xcu file Overwrite free disk space to hide previously files Vacuum Firefox, Google Chrome, Liferea, Thunderbird, and Yum databases: shrink files without removing data to save space and improve speed Surgically remove private information from .ini and JSON configuration files and SQLite3 databases without deleting the whole file Overwrite data in SQLite3 before deleting it to prevent recovery (optional) BleachBit 6.0.1 Beta release notes: BleachBit 6.0.1 beta is now available for testing. This maintenance-focused release includes bug fixes, updated translations, and a range of safe enhancements. This release fixes a Windows security issue that could allow arbitrary file deletion during privileged cleaning (reported by Zeze with TeamT5). It also adds new cleaners (including a DNS cache cleaner, Claude Code, and Visual Studio Code forks), support for multiple Chrome and Edge profiles, new deep scan options for developer directories like node_modules and venv, and safer, faster file shredding. All Platforms Added cleaners for Claude Code, DNS cache, and many Visual Studio Code forks. Added support for multiple Chrome and Edge profiles. Chrome can now clean downloaded AI models. Deep Scan can optionally remove venv, __pycache__, node_modules, and .angular directories. Deep Scan is faster by skipping directories on the keep list. File shredding is safer, faster, and leaves fewer recoverable traces. Improved handling of cookies, symlinks, Unicode filenames, external processes, and configuration files. Improved Expert Mode warnings and long warning dialogs. Fixed crashes related to cleaner detection, invalid Unicode, and malformed cleaner data. Clipboard is now cleared automatically after shredding files via paste operations. Linux Added AppImage support. Added cleaners for Visual Studio Code, Codeium, Librewolf (.deb), Transmission (Flatpak), and Profanity. Improved Linux trash detection, including Snap-installed applications and mounted drives. Fixed Wayland root CLI issues and several Snap-related problems. Improved package dependencies, AppStream metadata, and desktop file handling. Fixed startup crashes when Python Requests is unavailable. Windows Fixed a security vulnerability that could allow arbitrary file deletion when cleaning with elevated privileges. Added %WindowsSystem% variable support. Improved clipboard clearing using native Windows APIs. Improved installer experience on unsupported Windows versions. Reduced installer size and improved application robustness. Fixed Unicode handling, filename anonymization, Git revision reporting, and splash screen stability. [full release notes] Download: BleachBit 6.0 | Portable | ~20.0 MB (Open Source) View: BleachBit Home page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • DriversCloud 12.1.6 by Razvan Serea With DriversCloud (formerly My-Config.com), you can explore your computer easily, safely and free. The application quickly scans your PC and identifies the hardware and software components. DriversCloud then establishes a list of the different drivers compatible with your OS and hardware. Download the drivers needed for the proper functioning of your computer. To detect your drivers, DriversCloud also displays a detailed summary of your hardware and software configuration, analyzes your BSOD, monitors in real-time your PC voltages and temperatures and lets you share your configuration online. Once the hardware components have been detected, you will be able to obtain with just a few clicks the latest drivers corresponding to the identified hardware. You can record your configuration on the site for free, and can get the corresponding URL to post the configuration to technical forums, e-mail and social networks. You can also download the detection result (the configuration) as a PDF file. To protect the user's privacy and data confidentiality, a 4-level confidentiality system was created that filters the XML marks and gives control to the user. The default level can be modified in the preferences. Using the maximum level will prevent the user from publishing his configuration and generating a corresponding PDF file. In non-connected mode, each XML configuration is stored on the server for one day (for practical reasons). However, you are given the opportunity to manually delete it. Created in 2004, and continually improved, My-Config.com has established itself on the web as a free service to PC users running Windows and Linux operating systems. The service is designed to work with the most common Internet browsers (Edge, Firefox, Chrome, Safari). Download: DriversCloud 64-bit | 20.0 MB (Freeware) Download: DriversCloud 32-bit | 18.9 MB Link: DriversCloud Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • One Month Later
      AndreaB earned a badge
      One Month Later
    • One Month Later
      agatameier earned a badge
      One Month Later
    • Week One Done
      agatameier earned a badge
      Week One Done
    • Week One Done
      ssd21345 earned a badge
      Week One Done
    • Contributor
      MarkHughes4096 went up a rank
      Contributor
  • Popular Contributors

    1. 1
      +primortal
      516
    2. 2
      +Edouard
      193
    3. 3
      PsYcHoKiLLa
      147
    4. 4
      ATLien_0
      96
    5. 5
      Steven P.
      77
  • Tell a friend

    Love Neowin? Tell a friend!