make LivePTR form conditional (see #1241)

* renderLivePTR(): make the form conditional: only generate the elements
  if the submit would be permitted