when editing field, default value

when editing field, default value

javismilesjavismiles Posts: 205Questions: 38Answers: 3

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

Answers

  • colincolin Posts: 15,142Questions: 1Answers: 2,586
    Answer ✓

    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

  • javismilesjavismiles Posts: 205Questions: 38Answers: 3

    it works, thank you very much Colin ;)

This discussion has been closed.