Function repeat

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

Function repeat

Firas Kammoun
Hello

I have a problem . i couldn't do a function repeat in a link button.
I create an Integer text field . so i would like to enter a number and automatically a link button will be created. 

you find an attached example . i enter number '3' and i would have 3 links button.is it possible?































Thanks

--
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: Function repeat

Alessandro  Vernet
Administrator
Hi Firas,

This can't be done just with the Form Builder UI, but most likely can be done by adding some XForms code to the source of your form. A few questions:

- When would you like the addition to be done? As soon as the text field loses the focus?
- What should happen if the user comes back to the field and changes the value?
- More generally, what are you trying to do? What does the link button do? Why would this be useful?

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet