Field management

Backend functionalities: user management, course management, reports, certificates, etc.
Post Reply
Graeme59
FormaLms User
Posts: 131
Joined: Thu May 05, 2016 6:53 am
Version: forma.lms 2.0
Location: UK
Contact:

Field management

Post by Graeme59 »

Hi,
If an admin enrols a learner and does not complete all of the fields despite them being mandatory, when the learner attempts to log in for the first time, they are unable to continue because of this.

<div class="form_line_l"><p><label class="floating" for="field_textfield_2">Venue <span class="mandatory">*</span></label></p><input type="text" class="form-control textfield" id="field_textfield_2" name="field_textfield[2]" value="" maxlength="255" alt="Venue" /></div>

What do I need to do to sort it?

See images

Cheers
Graeme
Attachments
ErrorC.jpg
Error b.jpg
Error A.jpg
alfa24
Senior Boarder
Posts: 2239
Joined: Fri Nov 24, 2017 8:45 am

Re: Field management

Post by alfa24 »

Per supporto GRATUITO contattatemi in privato qui
Graeme59
FormaLms User
Posts: 131
Joined: Thu May 05, 2016 6:53 am
Version: forma.lms 2.0
Location: UK
Contact:

Re: Field management

Post by Graeme59 »

Hi,

I have updated the file, but the error is still happening.

See below.

<html>
<head>
<title>Precompile</title>
</head>
<body>
{{ Template_getTitleArea(Lang_translate('_PRECOMPILE', 'standard')) | raw }}
<div class="std_block">
{{ result_message }}
{{ Form_openForm('precompile_form', 'index.php?r=precompile/set', null, null, 'multipart/form-data') }}

{%if not fields_checked and request_mandatory_fields_compilation == 'on' %}
{% for id_field,m_field in fieldlist.getUserMandatoryFields(id_user) %}
{{ fieldlist.playFieldForUser(id_user,id_field,false,true) | raw }}
{% endfor %}
{% endif %}

{{ Form_getBreakRow() }}
<div class="boxed">
<p class="privacy_policy">
{{ policy_text | raw }}
</p>
{{ Form_getBreakRow() }}
<div class="align-center">
{{ Form_getHidden('policy_id', 'policy_id', policy_id) | raw }}
{{ Form_getCheckbox(Lang_translate('_ACCEPT', 'register'), 'accept_policy', 'accept_policy', 1, false) | raw }}
</div>
</div>
{{ Form_openButtonSpace() | raw }}
{{ Form_getButton('save', 'save', Lang_translate('_SAVE', 'standard')) | raw }}
{{ Form_closeButtonSpace() | raw }}
{{ Form_closeForm() | raw }}
</div>
</body>
</html>

Cheers
Graeme
alfa24
Senior Boarder
Posts: 2239
Joined: Fri Nov 24, 2017 8:45 am

Re: Field management

Post by alfa24 »

Yes, I know.
The fix didn't work for the the user in the topic I provided as well.
Just to say that the bug is known and not solved.
Per supporto GRATUITO contattatemi in privato qui
Graeme59
FormaLms User
Posts: 131
Joined: Thu May 05, 2016 6:53 am
Version: forma.lms 2.0
Location: UK
Contact:

Re: Field management

Post by Graeme59 »

Sorry, I have just cleared the twigg cache and it has sorted the problem
Thanks you for your help
Graeme
alfa24
Senior Boarder
Posts: 2239
Joined: Fri Nov 24, 2017 8:45 am

Re: Field management

Post by alfa24 »

Oh! I took that for granted (for the other user as well, let me suggest him too).
Per supporto GRATUITO contattatemi in privato qui
Post Reply