Forum Discussion

RichardWu's avatar
RichardWu
Qrew Trainee
7 years ago

pass field values to an add new record form

I want to pass a value from a field in one table and click a button here and it'll generate a form to add a new record. In this button, I use the following formular:
URLRoot() & "db/" & "xxxxxxxx?a=API_GenAddRecordForm&apptoken=xxxxxxxxxxxxxxxxxxx"
& "&_fid_125=" & [Related Loan Application]

It redirects me successfully to the form but a field (fid is 125) in which I anticipate the value to be passes will be pre-populated in the new form did not actually doing that. Is there anything I missed?

7 Replies

  • Is the Related Loan Application field a numeric field or a text field?
    • QuickBaseCoachD's avatar
      QuickBaseCoachD
      Qrew Captain
      On the record that you were launching the button from, what value is in that field?
    • RichardWu's avatar
      RichardWu
      Qrew Trainee
      We found that solution. The field id I was using was 125 but we found that it works with the ID of 122 because I heard that there are different types to that field: read-only , and editable. In this case, 125 is the READ-ONLY type and 122 is EDITABLE type. Is that correct?