One Radio Select

I try to selec one radio button with a dinamik link but the value is null in every moment.

  Discussion posts and replies are publicly visible

Parents
  • I am still not clear about the problem. Can you try pasting the code snippet here?

  •  /*Checkbox*/
                                            a!richTextDisplayField(
                                              value: a!richTextItem(
                                                text: {
                                                  a!richTextIcon(
                                                    icon: "circle-o",
                                                    link: a!dynamicLink(
                                                      saveInto: {
                                                        a!save(fv!item.notificacion, 1),
                                                        a!save(
                                                          ri!contactos,
                                                          rule!ERYM_ValidarNotificacionContacto(
                                                            listaContactos: ri!contactos,
                                                            idContacto: fv!item.idContacto
                                                          )
                                                        )
                                                      },
                                                      
                                                      
                                                    ),
                                                    linkStyle: "STANDALONE",
                                                    showWhen: or(
                                                      fv!item.notificacion = 0,
                                                      isnull(fv!item.notificacion)
                                                    )
                                                  ),
                                                  a!richTextIcon(
                                                    icon: "dot-circle-o",
                                                    link: a!dynamicLink(
                                                      saveInto: {
                                                        a!save(fv!item.notificacion, 0),
                                                      }
                                                    ),
                                                    linkStyle: "STANDALONE",
                                                    showWhen: fv!item.notificacion = 1
                                                  )
                                                },
                                                size: "MEDIUM"
                                              ),
                                              
                                            ),
                                            
                                            
                                            
    /*Expresion Rule*/
    a!forEach(
      items: ri!listaContactos,
      expression: if(
        fv!item.idContacto <> ri!idContacto,
        a!update(ri!listaContactos.notificacion, fv!item.idContacto, 1),
        ""
      )
    )

Reply
  •  /*Checkbox*/
                                            a!richTextDisplayField(
                                              value: a!richTextItem(
                                                text: {
                                                  a!richTextIcon(
                                                    icon: "circle-o",
                                                    link: a!dynamicLink(
                                                      saveInto: {
                                                        a!save(fv!item.notificacion, 1),
                                                        a!save(
                                                          ri!contactos,
                                                          rule!ERYM_ValidarNotificacionContacto(
                                                            listaContactos: ri!contactos,
                                                            idContacto: fv!item.idContacto
                                                          )
                                                        )
                                                      },
                                                      
                                                      
                                                    ),
                                                    linkStyle: "STANDALONE",
                                                    showWhen: or(
                                                      fv!item.notificacion = 0,
                                                      isnull(fv!item.notificacion)
                                                    )
                                                  ),
                                                  a!richTextIcon(
                                                    icon: "dot-circle-o",
                                                    link: a!dynamicLink(
                                                      saveInto: {
                                                        a!save(fv!item.notificacion, 0),
                                                      }
                                                    ),
                                                    linkStyle: "STANDALONE",
                                                    showWhen: fv!item.notificacion = 1
                                                  )
                                                },
                                                size: "MEDIUM"
                                              ),
                                              
                                            ),
                                            
                                            
                                            
    /*Expresion Rule*/
    a!forEach(
      items: ri!listaContactos,
      expression: if(
        fv!item.idContacto <> ri!idContacto,
        a!update(ri!listaContactos.notificacion, fv!item.idContacto, 1),
        ""
      )
    )

Children