protected boolean isFormPublished() throws PortalException {
    DDLRecordSet recordSet = getRecordSet();

    if (recordSet == null) {
      return false;
    }

    DDLRecordSetSettings recordSetSettings = recordSet.getSettingsModel();

    return recordSetSettings.published();
  }
  public String getRedirectURL() throws PortalException {
    DDLRecordSet recordSet = getRecordSet();

    if (recordSet == null) {
      return null;
    }

    DDLRecordSetSettings recordSetSettings = recordSet.getSettingsModel();

    return recordSetSettings.redirectURL();
  }
  protected boolean isCaptchaRequired(DDLRecordSet recordSet) throws PortalException {

    DDLRecordSetSettings recordSetSettings = recordSet.getSettingsModel();

    return recordSetSettings.requireCaptcha();
  }