⚠ In case you've missed it, we have migrated 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 is an archived forum. ⚠

  •     

profile picture

Readonly value from set_relation



ari

ari
  • profile picture
  • Member

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 ?          
 

 


ari

ari
  • profile picture
  • Member

Posted 13 January 2014 - 20:08 PM

Hi All,

there is no solution for my problem ?