On variational problems in parametric form