Dyanmic crm onSave change the value

Posted by jk on Stack Overflow See other posts from Stack Overflow or by jk
Published on 2010-05-03T20:44:49Z Indexed on 2010/05/03 20:48 UTC
Read the original article Hit count: 382

Filed under:
|
|
|
|

Hi

I got one assignment on Dynamic CRM 4. We have one custome entity and it has one attribute called 'Issue Number' this attributes value generated by Plug-in when it save. When form will created meaning onLoad it will display blank value(text box is empty). But now we want to check that number is existing then concate with some random number. For that I wrote following javascript.

if((event.Mode == 1) || (event.Mode == 2) ) {

var varIssueNumber = crmForm.all.new_issueNumber.DataValue; alert(varIssueNumber);

}

but it is giving 'null'.

Can anybody please let me know how can I get the value of text field?

thanks in advance

© Stack Overflow or respective owner

Related posts about Microsoft

Related posts about dynamic