Readonly Column Issue
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
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
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
Before the submission, you must enable all fields otherwise you will lost their values. Please, insert the code below into JS-editor:
Replace the 'FieldName' with the internal name of the readonly field.
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);
};
-
- Information
-
Who is online
Users browsing this forum: No registered users and 7 guests