Read-Only fields don’t get saved in the database.


A short one today!! 

When changing the value of a read-only field with JavaScript the new value will not be saved into the database.
To save the newvalue set the ForceSubmit property of the field to true.

crmForm.all.new_customfield.ForceSubmit = true;

Now the new value will also be saved into the database.

Advertisements
Tagged with:
Posted in CRM 4
2 comments on “Read-Only fields don’t get saved in the database.
  1. ahmet says:

    I tried it but did not work

  2. Kenny Vaes says:

    Did you receive an error message?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: