¿Como puedo Pasar de un Formulario Tipo SelectBox a un formulario Padre una variable? / How can I pass a variable from a FORM Type SelectBox to another form Father?

Confluence User - 19 Apr, 2017

Estoy utilizando un formulario desde el cual llamo un formulario que utiliza SelectBox para elegir de un Datalist cierto elemento, necesito pasar ese elemento seleccionado al formulario padre, ¿como puedo lograr eso?

 

 I´m using a Form from which i call to other form who is using a selectbox in order to choice an element saved in a datalist, i need pass the value of this selection to father form, how can i do this?

forms

10


19 Apr, 2017
confluenceUser
confluenceUser

Your question is not clear. Some diagram or data to show the relationship may help stating your question. Anyway, maybe you can look at Default Form Options Binder. It allows you to create a list from existing form's record rows.

20 Apr, 2017
confluenceUser
confluenceUser

Walter,  certainly i´m use Default Form Options Binder   , but the problem is that i need pass from one form to other form specifically  the value of the selection maded by selectbox tool.

there are some examples about the forms an options that i´m using 

This is the Parent Form, i´m using it to call another form with selectbox to populate it

 

In the form with the selectbox tool i´m using Default Form Options Binder  to get a list of options

 

So, when the user select any option from the selectbox i need pass this value to the parent form.

26 Apr, 2017
confluenceUser
confluenceUser

Sorry I can't really understand the relationship between these 3 diagrams. First screenshot contains a grid, which opens up the second screenshot. In the second screenshot, there is a select box which get options from a form called "service". You want to pass value filled in in the first screenshot to the third one is it?

26 Apr, 2017
confluenceUser
confluenceUser

Hi, I am not very clear on the question, but perhaps you could try using the FormUtil.getValue function in the Javascript API#getValue(fieldId) to retrieve the value of another field.

21 May, 2017
confluenceUser
confluenceUser

Really i want pass value filled in the second screenshot by the selct BOX or/and the AJAX subform to the first Screenshot (GRID) who open the second screenshot in order to fill the fields of the grid.

21 May, 2017
confluenceUser
confluenceUser

Hi Anders, in this scenary Where i can use this suggested solution? i´m using a GRID FORM to call a Second Form  that have a Select BOX tool to get from a datalist an item.

(note: i get root of these forms from The Simple Quotation APPS)

Figure 1 GRID FORM FIRST FORM (Parent Form)

But i do a simple change, in the Second Form i´m using AJAX Sub-form in order to show in this form a couple of fields from a datalist depending from Select Box Tool.

Figure 2 Second Form with Select Box tool and Ajax Sub-form


When i submit the info charged in  this Second FORM the data in the fields Item and Cantidad pass to the  GRID FORM located in the First FORM, i want fill the grid with some fields shown in the second form by the AJAX SUB-FORM, as you can see in this example.

Figure 3, GRID FORM on the First Form and filled by data obtained from the Second Form.

I need fill the GRID with Data form ajax-form and/or Select Box Tool

 

 

 

29 May, 2017
confluenceUser
1
confluenceUser

i tried to do a sample app based on ur screenshot. u check and see whether it helps.

APP_samplegrid-1-20170529105920.jwa

04 Jun, 2017
confluenceUser
confluenceUser

My friend¡ excelent recomendation¡, definivally your APP have the solution, i´m sharing with you a final modification in the example that you send me in order to offer to you and other users another option like i was looking. But i would like comment you someting, i´m modifiying an original apps that come with the installation to reuse various modules and strangely this solution that work in your apps don´t work here. Could you have time to test this apps ? maybe you can see what happen. Before to fill the databases with customers and services on the Maintance Module you must charge a quitation of GENERAL item, you can see that i´have a Ajax and Select Tool just as we are working, at the end the info does not showed in the grid especifically on the column description, i will appreciate if you can analize this issue.

04 Jun, 2017
confluenceUser
confluenceUser

Sample Grid, with the final soltion as example:

APP_samplegrid-1-20170604135316.jwa

 

Apps with the implemented solution, but don´t working

APP_GDS-1-20170604135253.jwa

 

06 Jun, 2017
confluenceUser
confluenceUser

Friends i did note that in my APP especifically in "quotation_base" form  i´m calling a form using Sub-Form option , i think that by this reason i´cant show the selected values by select box tool on the childs forms, because when i use the preview option the info is correctly showed (i´m using Form Grid with the Option Format Type to pass the value to the grid.) but by reson reason the info does not presented when using the Sub-form option.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print