Bienvenido, Invitado
Nombre de Usuario Contraseña: Recordarme

How to? Enter key puts "New Line" instead of "Submit"
(1 viendo) (1) Invitado
  • Página:
  • 1
  • 2

TEMA: How to? Enter key puts "New Line" instead of "Submit"

How to? Enter key puts "New Line" instead of "Submit" hace 1 año, 7 meses #16147

Hi,
By default, Kide Shoutbox takes the 'Enter' key and submits a shout.

How can I adjust it so the 'Enter' key does NOT submit, but writes a 'new line'?


I tried to edit 'default_form.php' and remove the 'onkeypress' action, but that didn't fix it.

- rp
  • rpertusio
  • DESCONECTADO
  • Visitante
  • Temas: 7
  • Karma: 0

Re: How to? Enter key puts "New Line" instead of "Submit" hace 1 año, 7 meses #16166

Hi,

Download the com and reinstall, in the admin set "Show send button" to yes
  • JoniJnm
  • DESCONECTADO
  • Administrador
  • Temas: 4167
  • Karma: 144

Re: How to? Enter key puts "New Line" instead of "Submit" hace 1 año, 7 meses #16200

Yay!

It works great Thank you very much!

For other users, maybe they want both "Send button" and "Enter" to send a message? Maybe it should be a separate option in config.xml in a future version.

Thanks again!
  • rpertusio
  • DESCONECTADO
  • Visitante
  • Temas: 7
  • Karma: 0

Re: How to? Enter key puts "New Line" instead of "Submit" hace 1 año, 6 meses #16202

If 'Enter' exists the message can't have lines, so you need send it with the button
  • JoniJnm
  • DESCONECTADO
  • Administrador
  • Temas: 4167
  • Karma: 144

Re: How to? Enter key puts "New Line" instead of "Submit" hace 1 año, 6 meses #16203

Oh, yes, I know that.

What I mean is, in config.xml:

[...]
Show Send Button: Yes/No
Enter key Sends Msg: Yes/No
[...]

This way, other websites (other people who use Kide Shoutbox) can make a more detailed choice.

- Ryan
  • rpertusio
  • DESCONECTADO
  • Visitante
  • Temas: 7
  • Karma: 0

Re: How to? Enter key puts "New Line" instead of "Submit" hace 2 meses, 4 semanas #19676

In version 0.9.8, I have "Show Send Button: Yes", but it submits.

How can I make it "New Line" again like old versions?

- rp
  • rpertusio
  • DESCONECTADO
  • Visitante
  • Temas: 7
  • Karma: 0

Re: How to? Enter key puts "New Line" instead of "Submit" hace 2 meses, 3 semanas #19687

With shift+enter
  • JoniJnm
  • DESCONECTADO
  • Administrador
  • Temas: 4167
  • Karma: 144

Re: How to? Enter key puts "New Line" instead of "Submit" hace 1 semana, 2 días #19916

Hi. Now running 1.0 RC1 on J! 2.5

It is still broken.

SHIFT + Enter does not 'work'.

In FORM box:
Line1
Line2

When Submitted:
Line1Line2


So, it still does not work Your old versions used to have an Option to allow NewLine or not.
  • rpertusio
  • DESCONECTADO
  • Visitante
  • Temas: 7
  • Karma: 0

Re: How to? Enter key puts "New Line" instead of "Submit" hace 1 semana #19920

Thanks. Fixed.

Download and reinstall the component
  • JoniJnm
  • DESCONECTADO
  • Administrador
  • Temas: 4167
  • Karma: 144
  • Página:
  • 1
  • 2
Página generada en: 0.46 segundos