Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

Open new edit form with fields pre-populated

Post Reply
parkerjnc
Posts: 15
Joined: Wed Sep 05, 2012 5:15 am

Open new edit form with fields pre-populated

Unread post by parkerjnc »

I understand there is a JavaScript function (OpenForm(pFormID, pRecordID)) which you can pass "-1" for the pRecordID to open the edit form for a new record. I would like to be able to pre-populate some of the fields on the form. For instance, if you have an "Account" form which has an "Account ID" field and a button for initiating a "Job Request" that would cause a new edit form to open for a job request with the "Account ID" already populated to associate the Job Request to the Account. Any ideas?


*EDIT*
Nevermind, finally found a very nice answer from FBC-TIm in this post:
http://forums.nubuilder.cloud/viewtopic.php?f=4&t=6412
admin
Site Admin
Posts: 2781
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5
Been thanked: 1 time

Re: Open new edit form with fields pre-populated

Unread post by admin »

.
Post Reply