Praying in a Non-Orthodox Synagogue
Question
I know from some answers I’ve seen on this site to some questions others have asked that one is not supposed to pray in a non-orthodox congregation. But suppose someone does, have they fulfilled the mitzvah of having prayed with a tzibor? For example, if one is in his year of mourning and recites kaddish in a non-orthodox congregation, has he fulfilled his obligation to say kaddish? If one hears the shofar blown in a non-orthodox congregation, has he fulfilled the mitzvah of listening to the shofar?