Forum Discussion

DavidHawe's avatar
DavidHawe
Qrew Trainee
5 years ago

Values from visible but not acting like it

I am using script to get values then insert into fields.  The app is used seasonally so has not been active since last fall.  Something has change affecting how the values behave.

This is in an add record situation and the values are visible to my eyes as the form displays but do not behave as if there.  Formulas using the fields have no result and Reference fields do not bring in Lookups.

Once the record is saved, they behave.  However, we need them to behave while still in the add mode.

Here is the pertinent part.  The bolded ones

   }
    else {
        console.log("inspectorNumber is not blank");
        if (addRecord) {
            // Insert inspector number into appropriate field
            $('#_fid_695').val(QNumber);
            $('#_fid_10').val(location);
            $('#_fid_9').val(CCP);
            $('#_fid_374').val(inspectionTable);
        }
        else {
            // Add to the edits field
            $('#_fid_769').val(inspectorNumber + ' ' + inspectorName);
        }


1 Reply

  • Have you double checked the ID's you're referencing. I don't have a memory of what they used to be like, but based on how you're doing your jQuery and doing $("#_fid..") - when I inspect elements now all of my field values are #tdf_12 as one example. Maybe start by checking that you're grabbing / entering to the right elements

    Chayce Duncan | Technical Lead
    (720) 739-1406 | chayceduncan@quandarycg.com
    Quandary Knowledge Base