Repeating grids section validation question

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

Repeating grids section validation question

karthikeyan
 We have an article with grid and it has 3 sections. Each section is named as
cell-1, cell-2, cell-3 which will have an urn id and that in turn sends a
request and loads the data in the cell. we want to run a validation on
cell-2 and cell-3 based on the xml value in cell-1 but validation only
happens before the cell is loaded with the data. Any help appreciated,
please. Many thanks in advance.

The following grid is filled up with data when the article is published.
<grid>
<row>
<cell-1>urn:some-id:some-pid</cell-1>
<cell-2/>
<cell-3/>
</row>
<row>
<cell-1>urn:some-id:some-pid</cell-1>
<cell-2/>
<cell-3/>
</row>
<row>
<cell-1>urn:some-id:some-pid</cell-1>
<cell-2/>
<cell-3/>
</row>
</grid>

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1617905659045-0.post%40n4.nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: Repeating grids section validation question

Alessandro  Vernet
Administrator
Hi,

Validation should be triggered again every time a value the validation
depends on changes. So whenever a new value is loaded in `cell-1`, your
validation for `cell-2` and cell-3` should be triggered again if it depends
on `cell-1`. Are you saying that you are not seeing this? If so, could you
create a minimal example that reproduces this behavior?

-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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1618099179987-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Repeating grids section validation question

Alessandro  Vernet
Administrator
Hi,

Did you get a chance to look at this one, and maybe figure out what was
happening with validation? If not, and if this is still something you have
on your plate, it would really help if you could share with us a minimal
example that we can use to reproduce the behavior you have on your side.

-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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1618863821361-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet