[SOLVED} Update value in form

genyded

Active Member
Hi,

I want to set the value of one of the form fields to the concatenated value of 2 of the other form fields. All I really care about is that the value goes into the database for the concatenated field. It is hidden so it will never be seen. So if I need "field3 = field1 + <space> + field 2" (pseudo code):

1) What is the best way to do this? I would guess php form plug-in and if so where (onLoad, beforeProcess...)?
2) What functions should be used to get the values for the 2 fields and then put them glued together into the 3rd for storage? $formModel->formData ['table___element'] does not seem to work to get the existing field values. This is Fabrik 3.1.1.

Thanks,
Dale
 
Back
Top