when editing field, default value
when editing field, default value
javismiles
Posts: 205Questions: 38Answers: 3
in Editor
Hi,
when I inline edit or normal edit a field of a table,
how can I set the default value that should appear in that field when editing it, I mean that if that field currently contains "213" I dont want that when you edit it, the value that appears in the input box is "213", I want something else to appear when u edit it, how can i do that? thank u
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @javismiles ,
This example here should do what you're after. This changes all the fields to alternative strings when editing begins, but you could make it smarter and only change specific fields.
Cheers,
Colin
it works, thank you very much Colin