Introduction

The "URL Request Parameters for the Popup Form" is a new feature for Form Grid. It will pass the selected field ID as URL request parameters to the popup form which is the configured form grid target form that will pop up upon adding or editing a row in the form grid. In this article, we will demonstrate 1 example of using this feature. 

Steps Example

Step 1

Create 4 forms and generate a CRUD for each of them after creation and configuration.

Item Form - 2 text fields

LabelID
Item IDitemID
Item NameitemName

Figure 1:  Item Form Layout

Dummy Data - 2 text fields

LabelID
Item IDitemID
Dummy NamedummyName

Figure 2: Dummy Data Form Layout

Parent form - 1 select box & 1 form grid

Figure 3: Parent Form Layout


Select box settings

Figure 4: Parent Form Select Box Settings - 1 


Figure 5: Parent Form Select Box Settings - 2 


Form Grid Settings

Figure 6: Parent Form Form Grid Settings - 1


Figure 7: Parent Form Form Grid Settings - 2


Child Form - 1 hidden field & 1 text field & 1 select box

Figure 8: Child Form Layout

Hidden Field Setting

Figure 9: Hidden Field Setting


Text Field Setting

Figure 10: Text Field Setting

Select Box Setting

Figure 11: Select Box Setting - 1


Figure 12: Select Box Setting - 2


Figure 13: Select Box Setting - 3

Step 2

Populate some data into the Item and Dummy forms. 

The inputted data (Item and Dummy CRUD) must have matching Item IDs.

Figure 14: Item CRUD

Figure 15: Dummy CRUD

Step 3

Result

Figure 16: Result

Properties


Figure 17: Properties 

NameDescription
Parameter

Map values as the URL parameters.

Field IdField ID of the form element in the current form.
Default Value

Default Value when there's no existing value found/selected.

A hash variable is accepted here. For example, you may key the following

#currentUser.firstName# #currentUser.lastName#


to pre-populate the field with the currently logged-in user's name.

Sample App

APP_kb_dx8_urlParamPopupForm.jwa





  • No labels