⚠ In case you've missed it we are migrating to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This forum is read-only and soon will be archived. ⚠


Readonly value from set_relation

set_relation

  • Please log in to reply
1 reply to this topic

#1 ari

ari

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 22 December 2013 - 03:15 AM

Hi there,

 
I have tables like :
 

transactiondetail (id,productid,price,qty)
products (productid,productname,minimumprice)

the standard relation formula is :
$crud->set_relation('productid','products','{productname}-{minimumprice}');

but i wanna split the minimumprice into textbox in the form entry as readonly, because i wanna show to the user that the sales price cannot be lower than the minimum price.

So how can i do that ?          
 

 



#2 ari

ari

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 13 January 2014 - 08:08 PM

Hi All,

there is no solution for my problem ?







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users