How can I make the rules for showing and hiding parts of form work on Facebook