Forum Discussion
_anomDiebolt_
8 years agoQrew Elite
When you edit a record there is a hidden <input> on the form for every field which records the "old" value of the field. So for a field with fid=6 there is the visible <input> with id=_fid_6 and a hidden <input> with name=_fid_oval_6. So what you can do is modify the Save button click handler to first concatenate the value in hidden <input> with the value in the visible <input> and place this concatenated value into the visible <input> and then do the normal Save routine.
Here is the code to use with IOL that does the trick:
Here is the code to use with IOL that does the trick:
var originalClickHandler = $("#saveButton").data("events").click[0].handler;There is no need to use formulas or a child table. The behavior you want should be implemented directly on the form when the keystrokes are entered and the form is Saved.
$("#saveButton").unbind("click");
$("#saveButton").on("click", function() {
$("#_fid_6").val($("[name=_fid_oval_6]").val() + ", " + $("#_fid_6").val());
originalClickHandler();
});