Hi. I need to strip the spaces from an input field. Any idea how to do this?
Im using the "Custom forms HTML code" and therefore i cannot do this in the wizard.
Thanks
Hi glens1234,
Do you need to strip them after the form is submitted? Then use a Custom Code action in the On Submit event.
Bob
ok thanks. so i add a custom code action to the onsubmit event. Do i simply add the javascript code here? Do you have any idea about what code i can use? Can i use jquery? thanks again
Hi glens1234 ,
I'm lost - what exactly do you need to do?
JavaScript won't work in the On Submit event, you'd use PHP there.
Bob
its ok im lost too. Im just trying to remove any blank spaces which may be entered into an input box. I don't care if this is server-side or client-side. Whatever is easiest. Im not a coder so if you know of anything that i can copy and paste that would be great.
Thanks.