Announcement

Collapse
No announcement yet.

Field load it's value from another table using Ajax.

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Field load it's value from another table using Ajax.

    Hello.
    I have a field called {price} and i want to load it's value from another field {unit_price} (from another table).
    i want to use Ajax, also if i change the field {unit_price} from the dropdown i want the {price} field change automatically.
    Scriptcase V8.1 Enterprise Edition.

  • #2
    {unit_price} presented as dropdown list in the same form with field {price}.
    Scriptcase V8.1 Enterprise Edition.

    Comment


    • #3
      I tried to use sc_lookup but not worked. any idea?
      Scriptcase V8.1 Enterprise Edition.

      Comment


      • #4
        To allow to load the field description from another field you need to scroll down the fieldproperty list to the section lookup. Default autolookup and then you follow the menu to get the lookup value.
        If you need to calculate depending on a dropdown value then create a new ajax event onchange and apply the dropdown value to it. Next you get a php panel where you can do the calculation to set another field.
        Albert Drent
        aducom software netherlands
        scriptcase partner, reseller, support and (turn-key) development
        www.scriptcase.eu / www.scriptcase.nl

        Comment


        • #5
          .................................................. ........
          Last edited by iiiax; 03-22-2014, 12:51 PM.
          Scriptcase V8.1 Enterprise Edition.

          Comment

          Working...
          X