Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8103901
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T23:40:55+00:00 2026-06-05T23:40:55+00:00

I have several text fields that are dynamically populated based on user choice from

  • 0

I have several text fields that are dynamically populated based on user choice from a drop down. Everything works wonderfully except the form does not “See” that the text fields have had content entered.

The text fields will trigger some conditional logic. When I manually enter the “condition” the form works properly. However, when the text fields are populated based on the drop down the form doesn’t see that the content has been entered or changed.

How do i tell the form that the content has been entered and if it changes?
This is the code I am using to get/pass/filter the content–everything works, when I submit the form the entered values are “seen” but they aren’t while the form is still being worked on–I have several fields that are conditionally dependent on the group value that is passed.

I’ve has some great help getting this to work to this point and just need this last little bit to get this form to run perfectly.

jQuery(document).ready(function(){

  jQuery('#input_4_40').bind('change', function()
    {

       //get selected value from drop down;
        var selectedValue = jQuery("#input_4_40").val();

        //populate a text field with the selected drop down value
        jQuery("#input_4_64").val(selectedValue);

   });
});

$(function(){
 var groupFromValue = {

227: {
    name: 'B-1300SS',
    group: '8'
},

228: {
    name: 'B-1500SS',
    group: '3'
},

235: {
        name: 'SG4600-72',
        group: '9'
}

}

$('select').change(function() {
var machineName = groupFromValue[$(this).val()].name;
var machineGroup = groupFromValue[$(this).val()].group;

//populate a text field with the selected drop down value
     jQuery("#input_4_63").val(machineName);

//populate a text field with the selected drop down value
    jQuery("#input_4_62").val(machineGroup);

 });
 });
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T23:40:56+00:00Added an answer on June 5, 2026 at 11:40 pm

    You can manually fire the change event after you dynamically populate the field, eg:

    jQuery("#input_4_64").val(selectedValue).change();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have several text fields which compromise a registration form . When the user
I have several applications within my domain that accept similar inputs in text fields.
Evening, I have several UITableViewCell's which expand dynamically in height based on the text
I've made a user interface that contains several text fields. When the app launches,
I have a list of objects (created from several text files) in C#.net that
I have one form with several text fields and one button. When i enter
I have several paragraphs of text that are being stripped of all of their
I'm working on a mobile phone web app and I have several text fields
I have several TEXT and/or MEDIUMTEXT fields in each of our 1000 MySQL tables.
I have a table with several text fields in it. Tapping on any of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.