Timeline for Inputfield Value into Variable
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 14, 2014 at 21:42 | comment | added | Caky | Capturing the user inputs by using the Selection option was hard coded. How would I do this dynamically? Most likely if the user start to type in the Account name there would be a drop down menu with selections. Thanks | |
Nov 6, 2013 at 1:02 | comment | added | Caky | Resolved, it is a rerender issue. | |
Nov 6, 2013 at 0:21 | comment | added | Matt Lacey♦ |
Yeah, just set the variable to the account you want to default to. In GetOptions() you could just do Account_Name_v = options[0].GetValue(); .
|
|
Nov 6, 2013 at 0:03 | comment | added | Caky | I think I know what problem is. It is my rendering section of my VF code. To this test, Do you know how I can set a default selection to the account? Thanks | |
Nov 5, 2013 at 23:45 | comment | added | Matt Lacey♦ | Then it should definitely have a value in the method with a query. I'd check for conflicting variable names (i.e. a local superceeding the member variable) and that the value chosen definitely matches the field on the record. | |
Nov 5, 2013 at 23:04 | comment | added | Matt Lacey♦ | Is the account name reset in the getter or anywhere? I've had issues with those being called before the action method is invoked. | |
Nov 5, 2013 at 22:31 | comment | added | Caky | It doesn't seem that the value from the user selection is being pass down to the variable Account_Name_v. The result for this query is blank. But if I replace the Account_Name_v with an actual account name such as 'First Horizon' then I would the right result. | |
Nov 5, 2013 at 22:23 | comment | added | Caky |
Hi LaceySnr, I hoping that you can help with one problem. I'm trying to pass a variable into my SOQL statement. So, I've model my code as you shown above. Here is my SOQL Statement: {List<Design_Activity__c> Designs=[select MMBT_Account__r.ID, MMBT_Account__r.Name,Calendar_Month__c, Calendar_Year__c from Object__c Where MMBT_Account__r.Name =:Account_Name_v and Calendar_Month__r.Month__c = 'September' Limit 5];}
|
|
Oct 18, 2013 at 21:49 | comment | added | Caky | LaceySnr, you're the best. This is my first VF page and you've answered all of my questions I've posted. I really like and find it extremely helpful reading your snippet of codes. Thanks | |
Oct 18, 2013 at 21:44 | vote | accept | Caky | ||
Oct 18, 2013 at 4:14 | history | answered | Matt Lacey♦ | CC BY-SA 3.0 |