Jump to content
Sign in to follow this  
anand

remove $$hashkey from object

Recommended Posts

i converted inventory.json and .thtml to suit my requirement for experience with fields - role, movie, year.

 

i got everything correct except that the year filed is showing $ sign in front of the year.

 

my changed code

 

{
    "title": "Inventory",
    "type": "table",
    "items": {
        "title": "Item",
        "type": "object",
        "properties": {
            "movie": {
                "title": "Movie",
                "type": "string"
            },
            "role": {
                "title": "Role",
                "type": "string"
            },
            "year": {
                "title": "Year",
                "type": "string"
            }
        }
    }
}
 
how to remove that sign in front end

Share this post


Link to post

That would be part of the output, not the input. Did you change /components/com_jreviews/jreviews/views/themes/default/fields_phpformat/inventory.thtml theme file and created a new one for your form? You can make the change there.

Share this post


Link to post
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Please refer to our Privacy Policy.