mdjnelson / moodle-mod_customcert

Enables the creation of dynamically generated certificates with complete customisation via the web browser.
https://moodle.org/plugins/mod_customcert
GNU General Public License v3.0
94 stars 160 forks source link

Allow user to enter a field value #220

Open smaheratunfpa opened 6 years ago

smaheratunfpa commented 6 years ago

Can this plugin support the ability of a user to supply information before the generation of the certificate ? I need for a user to get their certificate but first be prompted to fill in an accreditation id number so that number will appear on the certificate.

mdjnelson commented 6 years ago

Unfortunately, no it can't. But that sounds like an idea to think about. You could also, for now, create a custom profile field (https://docs.moodle.org/35/en/User_profile_fields) and set this to required, then display this field on the certificate.

Kemmotar83 commented 5 years ago

Hi, in our university we had the same need and we have developed a custom element named manual field (customcertelement_manualfields). For now the manual field can be of two types, text or list.

Here two screenshots:

Config when adding the manual field element to the certificate image

Prompt before certificate generation image

We wanted to submit this plugin to markn86 but before we should refactor and check the code. I promise, we'll do.

Giorgio