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: 2,425Questions: 0Answers: 434
    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 ;)

Sign In or Register to comment.