~Lily KihipisonetsiNov 23, 2011, 9:30 AM261 PostsRe: Save down to two forms of which one of the fields included in bothFredrik, AFAIK you can't have two data bindings for one control. What you could do is to bind the control to the field on form 1 and when saving form 2, store the value from the control in the field on form 2. Mark
~Yentl ZenfooterflarNov 23, 2011, 9:47 AM31 PostsRe: Save down to two forms of which one of the fields included in bothUse this from my Save button, works well. var Xband1:com.ibm.xsp.component.xp.XspInputText = getComponent("band1");var xmusic1:com.ibm.xsp.component.xp.XspInputText = getComponent("music1");document1.setValue("band",Xband1.getValue());document2.setValue("band",xband1.getValue());document2.setValue("music",Xmusic1.getValue());document1.save();document2.save();context.redirectToPage("main")