DvdW
Posts: 10
|
Posted: 05/24/2017, 7:13 AM |
|
Hi,
I want to change a value of a field in a search form after the submit and before the value was sent in the url call.
I've try several ways but none works :
A is the field to be modified
* on submit with a setvalue on the field A
* on an onclick on the input field with a setvalue on the field A
Any idea to solve the problem ?
Thank you in advance
|
|
|
chibuzor
Posts: 1
|
Posted: 05/29/2017, 2:48 PM |
|
Quote DvdW:
Hi,
i just want to use codecharge to build a chat room, pls help?
_________________
chinaecherem |
|
|
eratech
Posts: 513
|
Posted: 08/21/2017, 12:29 AM |
|
DvdW - the On Submit and the On click - are they the Client side (javascript) or the Server side events?
I would recommend added your code to the Before Insert or Before Update for the record, but as it's a Search there is no Insert/Update.
So then I would suggest putting your code change in the On Validate for the Search form - it's normal code run as normal, but usually returns errors if validation fails. This time you are making changes to the data.
Hope that helps.
Eric
_________________
CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia |
|
|
|