Populate autocomplete and repeat grid data on initial load of form

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Populate autocomplete and repeat grid data on initial load of form

debasis123
Hi
I am saving the form data, and after that I am trying to update the record
set in the form.
Now when I am loading the record on initial  form load,I am getting the
response like

For Personal Data Usage field,I have selected 3 values a,b,c in the repeat
grid at the saving time.
Getting response from server like :
<personal_data_usage
lens_type="business_process">a||b||c</personal_data_usage>

I am trying to display like xxf:split($personal_data_usage, '||'), but using
this I can able to display the first data "a" only.
Could you please help me to populate all the record "a","b","c" in the
corresponding repeat grid.

Regards,
Debasis

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Populate autocomplete and repeat grid data on initial load of form

Alessandro  Vernet
Administrator
Hi Debasis,

Are you trying to do this with an action you define in Form Builder? If that
is the case, then this isn't going to work, as actions defined in Form
Builder are currently unable to fill repeated grids, see RFE #1298, as
mentioned before. Or is this for something different?

http://discuss.orbeon.com/Populating-the-repeat-grid-record-from-API-on-form-initial-load-td4662770.html
https://github.com/orbeon/orbeon-forms/issues/1298

Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet