Hi,
I am trying to figure out how I can fill a textfield with a date that does not change when i edit the record in formbrowser.
I used a "computed field" with php-code and that does fill the field but I would need to copy this in a textfield that does not change when i edit the record.
Is there a way with formbuilder to copy the value from one field into another when submitting the content?
Regards,
Jan
Formbuilder and Formbrowser
Re: Formbuilder and Formbrowser
Couldn't you add a hidden field and populate it with javascript on change/submit?
Not getting the answer you need? CMSMS support options
Re: Formbuilder and Formbrowser
Thanks DIGI3
I will try that. I am still experimenting, it is supposed to be a very very simple order-system.
Take in a dress/trousers/etc to repair, print a number/name/etc on a ticketprinter to attach to the dress/trousers/etc.
When ready and the customer comes for it mark it as returned with the date.
It is almost ready.
Regards,
Jan
I will try that. I am still experimenting, it is supposed to be a very very simple order-system.
Take in a dress/trousers/etc to repair, print a number/name/etc on a ticketprinter to attach to the dress/trousers/etc.
When ready and the customer comes for it mark it as returned with the date.
It is almost ready.
Regards,
Jan
Re: Formbuilder and Formbrowser
Works!
The trick with the hidden field did it.
I run a UDT in a hidden field that produces a number like 200315-1435.
In a computed filed I refer to '$fld_43' (in my case 43 - the number of the hidden field)
After that, I could edit in Formbrowser without changing the number 200315-1430 when submitting changes.
Not even needing Javascript, great, thanks for the hint!
Regards,
Jan
The trick with the hidden field did it.
I run a UDT in a hidden field that produces a number like 200315-1435.
In a computed filed I refer to '$fld_43' (in my case 43 - the number of the hidden field)
After that, I could edit in Formbrowser without changing the number 200315-1430 when submitting changes.
Not even needing Javascript, great, thanks for the hint!
Regards,
Jan