Update remote validate to replace %val with value of input