All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
  Print view

Value of Control unbound is blank when get from SaveComplete
Author Message
PostPosted: Thu Sep 25, 2014 8:30 am 
Offline

Joined: Wed Sep 25, 2013 6:22 am
Posts: 107
Hi,

On BPCPowerForm, Save Completed option, I have script to get value from unbound control. When I click new item to go to NewForm, after I input value to Textbox, Then click Save and Exit button, value from Textbox control that get on Save Completed option alway return blank

Save Completed script option:

var temp = form.GetControl("c_TextBox").GetValue();
alert(temp);

Thanks


Top
 Profile  
 

Re: Value of Control unbound is blank when get from SaveComp
PostPosted: Fri Sep 26, 2014 11:37 am 
Offline

Joined: Tue Mar 08, 2011 7:37 pm
Posts: 275
After saving the control values are probably cleared.
If your textbox is bound to a sharepoint column, try obtaining the new value using the form.DataItem object:

Code:
alert(form.DataItem.FieldName);

_________________
Spyros Moschovakos

Best Practice Consulting,
http://www.bpc-components.com


Top
 Profile  
 

Re: Value of Control unbound is blank when get from SaveComp
PostPosted: Fri Oct 10, 2014 9:35 am 
Offline

Joined: Wed Sep 25, 2013 6:22 am
Posts: 107
Thank for reply


Top
 Profile  
 

Re: Value of Control unbound is blank when get from SaveComp
PostPosted: Tue Jan 06, 2015 10:58 am 
Offline

Joined: Wed Sep 25, 2013 6:22 am
Posts: 107
Hi,

I still get blank value. My control is unbound control.

Please help me

Thanks


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Style by custom web design , optymalizacja pozycjonowanie strony pozycjonowanie
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group