Form related field custom query