Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

how to update field based on another field?

Featured Replies

hi guys, sorry if this is under the wrong section.

i've got text fields on a layout linked to table A. i've got a table B that has field names and comments from B.

So whenever a user starts typing in "paragraph" text field, i would like a comments field to get updated from table B.

i know i can put onModify trigger script. what i dont know is how to select and update the comments field. i can get everything in variables but how do i pull up the record and update the field with it?

thanks!

We simply need more information. Please explain what the tables represent, how they are related, what you want entered in Table B (I hope it isn't the SAME information as is being entered in Table A's text field). :wink2:

  • Author

hehehe...no

all i need is to update the comments field being displayed based on where the user is typing (doesnt have any relation to table A's contents but rather which field it is)

so if user starts typing in ..say Paragraph (table A field = Paragraph)

comments should update saying you have 10 lines for paragraph. get(activefieldname) is enough to find out its Paragraph.

user starts typing in Bullets, comments textbox should update saying you have 20 lines for bullets.

table B has

textareaname | comments

------------------------

Paragraph 10 lines max.

Bullets 20 lines max.

Table A has

-----------

record_id

paragraph

bullets

filename

there is no join between the tables since there is nothing to relate.

I have absolutely no idea how to assist you; I can't understand what you are doing or why. Maybe someone else can. Sorry. :idunno:

UPDATE: Are you attempting to create an Audit Log which shows all changes per field? If so, do a search here for audit.

Edited by Guest
Added update

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.