Author Topic: Scribus Validation  (Read 1812 times)

arun_raghav2000

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
  • Scribus User
Scribus Validation
« on: April 30, 2013, 02:53:41 pm »
HI,
    I need to validate a textfield with only text. I need to cursor to be in the same textfield if the validation is false.
We use focus in javascript which is not working in the scribus.

Can anyone tell me how can it be done...


Thanks.
Arunkumar Raghavan

Saroj Kumar

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
  • Scribus User
Re: Scribus Validation
« Reply #1 on: August 22, 2013, 09:36:03 am »
Hello Arun try this.

this.getField('txtName').setFocus();


HTH
Regards