Page 1 of 1

Readonly Column Issue

Posted: 29 May 2017
by ksertkaya
Hi,

My column is readonly mode. When I Add new item in child table, page is reloading and this column is empty. How can I resolve this issue?

http://prntscr.com/fd9zqd
http://prntscr.com/fd9zew

Re: Readonly Column Issue

Posted: 29 May 2017
by Dmitry Kozlov
Hi,
Before the submission, you must enable all fields otherwise you will lost their values. Please, insert the code below into JS-editor:

Code: Select all

var submit = theForm.submit;
theForm.submit = function() {
	fd.field('FIeldName).readonly(false);
	return submit.apply(this, arguments);
};
Replace the 'FieldName' with the internal name of the readonly field.

Re: Readonly Column Issue

Posted: 30 May 2017
by ksertkaya
Thank you very much Dmitry.